Unit PropSaveMain

DescriptionUsesClasses, Interfaces, Objects and RecordsFunctions and ProceduresTypesConstantsVariables

Description

PropSaveMain contains set of non visual component which provides automatic storing and restoring properties of forms and components. It re/store properties and position of all standard components, the other components could be processed by TCustomPropSave descendant.

Updated version compatible with Delphi2010+. Splash screen in demo version.

Overview

Classes, Interfaces, Objects and Records

Name Description
Class TMemIniFileEx Enhanced TMemIniFile component which provides compression of file
Class TPropSaveFile Non visual component which provides loading and saving of TMemIniFileEx file, PropSaveMain component uses it as interface to ini data
Class TPropSaveMain Main component which provides hook functions, for re/storing of properties calls all TCustomPropSave components on the form
Class TCustomPropSave Basic component which provides all functions for re/storing of properties; all PropSave components must be inherited from CustomPropSave
Class TPositionPropSave provides re/storing of position of TControl descendand components
Class TStdCtrlPropSave provides re/storing of properties of standard components

Functions and Procedures

function GetGlobal_PropSaveFile: TPropSaveFile;

Types

TGetEncodingEvent = procedure(var Encoding: TEncoding) of object;
TReadValueEvent = procedure(Section, Ident: string; var Value: variant) of object;
TWriteValueEvent = procedure(Section, Ident: string; var Value: variant) of object;
TPropSaveEvents = (...);
TPropSaveAction = (...);
TOnReadSaveProp = procedure(PSFile: TPropSaveFile; Key: string) of object;
TOnGetKeyString = procedure(Comp: TComponent; var Key: string) of object;

Description

Functions and Procedures

function GetGlobal_PropSaveFile: TPropSaveFile;

return link to global TPropSaveFile if defined

Types

TGetEncodingEvent = procedure(var Encoding: TEncoding) of object;
 
TReadValueEvent = procedure(Section, Ident: string; var Value: variant) of object;
 
TWriteValueEvent = procedure(Section, Ident: string; var Value: variant) of object;
 
TPropSaveEvents = (...);

list of possible saving events

Values
  • pseFormCreateDestroy:  
  • pseFormShowHide:  
  • pseNone:  
TPropSaveAction = (...);

list of saving actions

Values
  • psaRead:  
  • psaSave:  
  • psaDelete:  
TOnReadSaveProp = procedure(PSFile: TPropSaveFile; Key: string) of object;

event type used by TPropSaveMain

TOnGetKeyString = procedure(Comp: TComponent; var Key: string) of object;

event type used by TCustomPropSave to get KeyString for the component

Author

Created

Jan 2005

Last Modified

Apr 2017


Generated by PasDoc 0.13.0 on 2017-06-17 14:57:06