Class TCustomPropSave
Unit
PropSaveMain
Declaration
type TCustomPropSave = class(TComponent)
Description
Basic component which provides all functions for re/storing of properties; all PropSave components must be inherited from CustomPropSave
Hierarchy
- TComponent
- TCustomPropSave
Overview
Methods
Properties
Description
Methods
 |
function GetKey(Comp: TComponent): string; |
returns key string for component
|
 |
function CanSave(Comp: TComponent): boolean; virtual; abstract; |
indicates whether re/storing of Components from parameter is supported by descendant of TCustomPropSave, must be override for all descendand
|
 |
procedure ProcComps(psAction: TPropSaveAction); |
called by MainPropSave in order to proceed re/storing properties of all components in "Componets" property
|
 |
function PropsIsStored(Comp: TComponent): boolean; |
indicates whether some data exists for component in ini file
|
Properties
 |
property DisableComponents: TList read FDisableComponents; |
list of component names which is excluded from re/storing and stored values is deleted
|
 |
property PropSaveMain: TPropSaveMain read FPropSaveMain write FPropSaveMain; |
link to PropSaveMain which maintain re/storing on form level
|
 |
property Disable: boolean read FDisable write FDisable default false; |
defines whether re/storing function of this CustomPropSave is disabled
|
 |
property Components: TStrings read FComponents write SetComponents; |
defines names of components which is re/stored, for re/storing of all children components use asterisk convention, ie. "Form1.*" means that all components on form "Form1" is re/stored
|
 |
property OnGetKeyString: TOnGetKeyString read FOnGetKeyString write FOnGetKeyString; |
event called for each component, can be used to redefine KeyString by user
|
Generated by PasDoc 0.13.0 on 2016-02-19 08:14:10
|