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()
| Value | Description |
|---|---|
| objectsize | x:@FM:y:@FM:w:@FM:h |
| existingprop | Size and position, when Set_Property was run. |
Get_Property returns x:@FM:y:@FM:w:@FM:h, where:
| Value | Description |
|---|---|
| x | Offset from the left side of the window. |
| y | Offset from the top of the window. |
| w | Width (rightward extension) of the control. |
| h | Height (downward extension) of the control, where the top of the control is the y position. |
The ORIG_SIZE property for SYSTEM returns:
| Value | Description |
|---|---|
| <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 property, Send_Message("COLWIDTH"), SIZE property.