Applies to
Window
Description
The MAXIMIZESIZE sets and retrieves the maximum size coordinates for a window. This property is useful when a window requires a maximum size less than the size of the display screen.
Usage
MaximizeSize = Get_Property (objectname, "MAXIMIZESIZE"')
ExistingMaximizeSize = Set_Property (objectname, "MAXIMIZESIZE", array)
Remarks
Values passed in Set_Property():
Value | Description | ||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
array | An @fm delimited array of minimum and maximum heights and widths. | ||||||||||
|
Returns
Values returned by Get_Property and Set_Property
Value | Description |
---|---|
MaximizeSize | An @fm delimited array of the maximum size of a window. |
ExistingMaximizeSize | An @fm delimited array of the maximum size of a window, when Set_Property was run. |
See Also
CLIENTSIZE property, SIZE property, TRACKINGSIZE property
Example
* This snippet of code will retrieve the current size of the window and set the MAXIMIZE size to the retrieved value. CurSize = Get_Property(@Window, "SIZE") maxSize = Set_Property(@Window,"MAXIMIZESIZE",CurSize)