[Overview][Types][Classes][Procedures and functions][Index] Reference for unit 'IniPropStorage' (#lcl)

TCustomIniPropStorage

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

Implements the base class for the INI Form's Session Properties.

Declaration

Source position: inipropstorage.pas line 28

type TCustomIniPropStorage = class(TFormPropertyStorage) end;

protected

  function IniFileClass; virtual;

  

Returns the class TIniFile

  function GetIniFileName; virtual;

  

Getter for the property TCustomIniPropStorage.IniFileName.

  function RootSection; override;

  

Returns the name of the RootSection.

  property IniFile: TCustomIniFile; [r]

  

Property to access the TCustomIniFile instance.

public

  procedure StorageNeeded(); override;

  

Aks the underlying storage object for an entry

  procedure FreeStorage; override;

  

Frees an entry from the underlying storage object.

  function DoReadString(); override;

  

Implements the actual reading of a value from the underlying storage container.

  procedure DoWriteString(); override;

  

Implements the actual writing of a value from the underlying storage container.

  procedure DoEraseSections(); override;

  

Erases a section from the underlying storage container.

  property IniFileName: string; [rw]

  

Name of the file where the property data is saved in INI format.

  property IniSection: string; [rw]

  

The section on the INI file where values are to be kept.

Inheritance

TCustomIniPropStorage

  

Implements the base class for the INI Form's Session Properties.

|

TFormPropertyStorage

  

TFormPropertyStorage - class for storage of a Form's properties

|

TControlPropertyStorage

  

|

TCustomPropertyStorage

  

Provides abstract means to Save/Restore properties.

|

TComponent

?

TObject

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