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():

ValueDescription
arrayAn @fm delimited array of minimum and maximum heights and widths.
 
PositionDescription
<1>The offset from the left side of the window. The window's X coordinate.
<2>The offset from the top side of the window. The window's Y coordinate.
<3>The width of the window.
<4>The height of the window.

Returns

Values returned by Get_Property and Set_Property

ValueDescription
MaximizeSizeAn @fm delimited array of the maximum size of a window.
ExistingMaximizeSizeAn @fm delimited array of the maximum size of a window, when Set_Property was run.

See Also

CLIENTSIZE propertySIZE propertyTRACKINGSIZE 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)
  • No labels