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

MWAPI - SIZE

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

5.4.24 SIZE wattribute

Definition

SIZE specifies the width and height of the window viewport, expressed in the unit of measure defined by the unitspec component of the size value, if present, and by the window’s UNITS wattribute otherwise.

If the unit of measure is CHAR, the basis font is the font specified by the window’s FFACE, FSIZE and FSTYLE wattributes.

If the window’s TIED wattribute is TRUE and the unit of measure is REL, the basis size is the size of the parent’s window viewport when the parent is created. If the window’s TIED wattribute is FALSE and the unit of measure is REL, the basis size is the size of the display.

When an application assigns a value to the SIZE wattribute of an existing window, if hsize or vsize is not specified then the horizontal or vertical size of the window, respectively, is not altered.

Domain size
Access Create, Modify, Reference
Default

If hsize, vsize, or both are not specified when a window is created, defaults for the unspecified values are determined as described below.

When an application window is created, the MWAPI attempts to make it large enough to encompass all gadgets, defined at that time, whose POS elattributes do not contain negative values for hpos or vpos. Subsequent creation, destruction or movement of gadgets does not cause the SIZE value to change.

When an MTERM window is created, an implementation may determine a default size based on openarguments and usearguments specified for the window. If the default size is not determined in this way, the default size is the equivalent of "80,24,CHAR".

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:01:33.

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