[Overview][Types][Classes][Index] Reference for unit 'PropertyStorage' (#lcl)

TPropertyStorageLink

[Properties (by Name)] [Methods (by Name)] [Events (by Name)]

Links a storage object to a property collection.

Declaration

Source position: propertystorage.pas line 90

type TPropertyStorageLink = class(TPersistent) end;

protected

  procedure SaveProperties; virtual;

  

Invokes the OnSave handler.

  procedure LoadProperties; virtual;

  

Invokes the OnLoad handler.

public

  destructor Destroy; override;

  property Storage: TCustomPropertyStorage; [rw]

  

Refers to the concrete Storage object.

  property RootSection: string; [r]

  

The path to the root of the Storage object.

  property OnSave: TNotifyEvent; [rw]

  

Supply your handler for saving all properties.

  property OnLoad: TNotifyEvent; [rw]

  

Supply your handler for loading all properties.

Inheritance

TPropertyStorageLink

  

Links a storage object to a property collection.

|

TPersistent

?

TObject

Description

Not very useful by itself, Load/Save depends on installed handlers.

The latest version of this document can be found at lazarus-ccr.sourceforge.net.