Unit PropSaveMain

Description

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

Splash screen in demo version.

Overview

Classes, Interfaces, Objects and Records

Name Description
Class TMemIniFileEx Enhanced TMemIniFile which provides compression of file
Class TPropSaveFile Non visual component which provides loading and saving of TMemIniFileEx file, it centralize data of all used TPropSaveMain components which uses it as interface to ini data
Class TPropSaveMain Main component which provides hook functions and re/stores standard components.
Class TCustomPropSave Basic component which provides all functions for re/storing of properties; all PropSave components must be inherited from TCustomPropSave
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

TPropSaveEvents = (...);
TPropSaveAction = (...);
TOnReadSaveProp = procedure(PSFile: TPropSaveFile; Key: string) of object;
TOnGetKeyString = procedure(Comp: TComponent; var Key: string) of object;
TOnProcComponents = procedure(Sender: TCustomPropSave; psAction: TPropSaveAction) of object;

Description

Functions and Procedures

function GetGlobal_PropSaveFile: TPropSaveFile;

return link to global TPropSaveFile if defined

Types

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

TOnProcComponents = procedure(Sender: TCustomPropSave; psAction: TPropSaveAction) of object;

event type used by TCustomPropSave to proceed any custom defined component

Author

Created

Jan 2005

Last Modified

May 2019


Generated by PasDoc 0.15.0.