Show pageOld revisionsBacklinksBack to top This page is read only. You can view the source, but not change it. Ask your administrator if you think this is wrong. ====== TRACKINGSIZE Property ====== ==== Applies To ==== Window ==== Description ==== The TRACKINGSIZE sets and retrieves the minimum and maximum size coordinates for a window. This property is useful when a window requires: * That no resizing can occur * A Minimum/Maximum size of the window * Thin frame functionality within an MDI frame. Windows with a thin frame style lose the style when opened within an MDI frame. The TRACKINGSIZE property will allow the developer to enforce no resizing of the form This property was introduced in OpenInsight 9.0 ==== Usage ==== TrackingSize = Get_Property(objectname,”TRACKINGSIZE”) ExistingTrackingSize = Set_Property(objectname,”TRACKINGSIZE”, array) ==== Remarks ==== Values passed in Set_Property(): ^Value^Description^ |array|@FM Delimited array of minimum and maximum heights and widths.| ^Position^Description^ |<1>|Minimum tracking width| |<2>|Minimum tracking height| |<3>|Maximum tracking width| |<4>|Maximum tracking height| ==== Returns ==== Values returned by Get_Property and Set_Property ^Value^Description^ |TrackingSize|@FM Delimited array of the currently set minimum and maximum heights and widths.| |ExistingTrackingSize|@FM Delimited array of the minimum and maximum heights and widths, when Set_Property was run.| ==== See Also ==== [[clientsize|CLIENTSIZE property]], [[maximizesize|MAXIMIZESIZE property]], [[size|SIZE property]] ==== Example ==== <code> * This snippet of code will make a window non-resizable CurSize = Get_Property(@Window, "SIZE") MinW = CurSize<3> MinH = CurSize<4> MaxW = CurSize<3> MaxH = CurSize<4> x = Set_Property(@Window,"TRACKINGSIZE",MinW:@FM:MinH:@FM:MaxW:@FM:MaxH) </code> guides/programming/programmers_reference_manual/trackingsize.txt Last modified: 2024/06/19 20:20by 127.0.0.1