PersistFormSize method

[method icon] PersistFormSize(Persist)

>PersistFormSize (form method)

PersistFormSize (form method)

The PersistFormSize() method allows the user to set the behaviour of the sizing of resizable forms. The default behaviour is off, but it can be enabled and reset using the single boolean parameter to this method. If enabled, then new top-level resizable forms will maintain the same window size and position as the previous top-level window, including whether the form is maximized or not. (However, the form size will never be smaller than its minimum design time size).

 forms.PersistFormSize(TRUE)
See also:

AddTool, AddToolAlert, AddToolFile, AddToolMenu, BlankDesktop, EnableAltCurrencyMode, FormColor, FormColorBorderThreshold, FormColorEnableGridBorder, HonorFormVisibleProperty, SetAltCurrencyMode, SetDBeditSearchTimeout, SetFormColors, SetGridCopyTimeout, SetToolAlertItemText, SetToolBarSize, SetToolItemText, SetToolMenuText, ShowToolbarOnly, SmallScreenLargeToolBar, SpoofGraph, TabEnterKey, TabReturnKey, UserColor