Class TPropSaveMain
Unit
PropSaveMain
Declaration
type TPropSaveMain = class(TComponent)
Description
Main component which provides hook functions, for re/storing of properties calls all TCustomPropSave components on the form
Hierarchy
Overview
Fields
Methods
Properties
Description
Fields
 |
IsMaximized: boolean; |
indicates whether form was stored in maximized state
|
Methods
 |
procedure SetParent(AParent: TComponent; UseFormEvent: boolean = false); |
|
 |
function GetFormKey: string; |
returns key string for active form
|
 |
procedure SaveProperties; |
saves all properties on app request
|
 |
procedure ReadProperties; |
reads all properties on app request
|
 |
function FormIsSaved: boolean; |
indicates whether form was already stored
|
Properties
 |
property FormKey: string read FFormKey write FFormKey; |
form key string, if empty Owner form name is used
|
 |
property PropSaveFile: TPropSaveFile read FPropSaveFile write SetPropSaveFile; |
link to PropSaveFile, usually app use only one PropSaveFile for all forms
|
 |
property FormSavePos: boolean read FFormSavePos write FFormSavePos default true; |
defines whether form position is re/stored
|
 |
property FormLimitToScreen: boolean read FFormLimitToScreen write FFormLimitToScreen default true; |
defines whether form position is limited to screen after restoring, ie. when screen resolution was changed
|
 |
property CtrlPosition: TPositionPropSave read FCtrlPosition; |
PositionPropSave subcomponent, see detail for TPositionPropSave
|
 |
property StdCtrl: TStdCtrlPropSave read FStdCtrl; |
StdCtrlPropSave subcomponent, see detail for TStdCtrlPropSave
|
 |
property OnSaveProperties: TOnReadSaveProp read FOnSaveProperties write FOnSaveProperties; |
called after standard storing and could be used for storing of user defined properties
|
 |
property OnReadProperties: TOnReadSaveProp read FOnReadProperties write FOnReadProperties; |
called after standard restoring and could be used for restoring of user defined properties
|
Generated by PasDoc 0.15.0.
|