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

MWAPI - POS

1995 Version of ANSI (Equivalent to Current ISO Version) of Standard

6.4.20 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, an error condition occurs with $ECODE containing ",M?7," 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 is ignored. For other menus, POS is optional.

Domain pos
Access Create, Modify, Reference
Default For menus not displayed as menu bars or as submenus, POS defaults to the position of the pointer at the time the menu becomes visible.
For other elements, none.
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.

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

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