Button for 1977 Button for 1984 Button for 1990 Button for 1995 Button for MDC Button for notes Button for examples

MWAPI - POS

Draft MDC Standard

6.4.33 POS elattribute

Definition

POS specifies the position of the origin of the element with respect to the origin of its parent’s application area, expressed in the unit of measure defined by the unitspec component of the pos value, if present, and by the element’s UNITS elattribute otherwise. For a document, list box, list button, list entry box, long list box, radio button set or text gadget, the position excludes the gadget’s title, if any. For a group frame, the position may exclude the gadget’s title, if any.

If the unit of measure is CHAR, the basis font is the font specified by the parent’s FFACE, FSIZE and FSTYLE wattributes. If the unit of measure is REL, the basis size is the size of the parent’s window viewport when the parent is created.

For gadgets, if a value is not assigned to the POS elattribute when a gadget is created, or if a value is assigned which does not contain both hpos and vpos components, an error condition occurs with an ecode = "M52" and $EREF containing a value that indicates the ssvn reference for which the error occurred.

For menus not displayed as menu bars or as submenus, if a value has not been assigned to the POS elattribute before the menu is made visible, or if a value is assigned which does not contain both hpos and vpos components, an error condition occurs with an ecode = "M52" and $EREF containing a value that indicates the ssvn reference for which the error occurred.

For menus displayed as menu bars and for menus displayed as submenus, the value of the POS elattribute does not determine the position of the menu.

Domain pos
Access Create, Modify, Reference
Default Not applicable
Button for 1977 Button for 1984 Button for 1990 Button for 1995 Button for MDC Button for notes Button for examples

Copyright © Standard Documents; 1977-2024 MUMPS Development Committee;
Copyright © Examples: 1995-2024 Ed de Moel;
Copyright © Annotations: 2003-2008 Jacquard Systems Research
Copyright © Annotations: 2008-2024 Ed de Moel.

Some specifications are "approved for inclusion in a future standard". Note that the MUMPS Development Committee cannot guarantee that such future standards will indeed be published.

This page most recently updated on 14-Nov-2023, 22:05:14.

For comments, contact Ed de Moel (demoel@jacquardsystems.com)