Unit 'IniPropStorage' Package
[Overview][Types][Classes][Procedures and functions][Index] [#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)

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;

  

Ask 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.

end;

Inheritance

TCustomIniPropStorage

  

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

|

TFormPropertyStorage

  

TFormPropertyStorage - class for storage of a Form's properties.

|

TControlPropertyStorage

  

Implements the abstract ancestor class used to get the property list for a control.

|

TCustomPropertyStorage

  

Defines a container used to Save and Restore property values.

|

TObject