Sign in Join
FPDoc Onlineexperiment

TIniCollectionItem.LoadFromIni procedure

Member of TIniCollectionItempublicIn unit IniCol

Method called when the item must be loaded.

Declaration

pascal
procedure LoadFromIni(Ini: TCustomInifile; Section: string); virtual
 ; abstract

Arguments

IniTCustomIniFile instance from which the item should be loaded.
Section

Section from which data should be loaded.

Description

LoadFromIni is called by LoadFromIni when it saves this item. Descendent classes should override this method to load the data they need to load. All read methods of the TCustomIniFile instance passed in Ini can be used, as long as the reading happens in the section passed in Section.

Errors

No checking is done to see whether the values are actually read from the correct section.

See also

An experiment, built from development snapshots. Not the official Free Pascal or Lazarus documentation.