====== MAXIMIZESIZE Property ====== ==== 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.\\ \\ __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.| ==== 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|CLIENTSIZE property]], [[size|SIZE property]], [[trackingsize|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)