MAXIMIZESIZE Property

Window

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.

MaximizeSize = Get_Property(objectname,"MAXIMIZESIZE")

ExistingMaximizeSize = Set_Property(objectname,"MAXIMIZESIZE", array)

Values passed in Set_Property():

ValueDescription
arrayAn @fm delimited array of minimum and maximum heights and widths.

Position - Description
<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.

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.
* 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)
 
 
  • guides/programming/programmers_reference_manual/maximizesize.txt
  • Last modified: 2024/06/19 20:20
  • by 127.0.0.1