Applies to

All controls, and system control

Description

Returns the original size and position of the specified control.

Usage

objectsize = Get_Property (objectname"ORIG_SIZE")

Returns

Values returned by Get_Property()

ValueDescription
objectsizex:@FM:y:@FM:w:@FM:h
existingpropSize and position, when Set_Property was run.

Get_Property returns x:@FM:y:@FM:w:@FM:h, where:

ValueDescription
xOffset from the left side of the window.
yOffset from the top of the window.
wWidth (rightward extension) of the control.
hHeight (downward extension) of the control, where the top of the control is the y position.

The ORIG_SIZE property for SYSTEM returns:

ValueDescription
<1>Screen width
<2>Screen height
<3>Maximum window client area width
<4>Maximum window client area height

Warning! Do not apply the ORIG_SIZE property using the SIZE property. This will make a control invisible and will cause a window to display minimized.

See also

CLIENTSIZE propertySend_Message("COLWIDTH")SIZE property.

  • No labels