TIniCollectionItem class
Collection item with support for loading/saving from/to ini file.
Declaration
TIniCollectionItem = class(TCollectionItem)Inheritance
- TIniCollectionItem
- TCollectionItem
- TPersistent
- TObject
Descends from it: TNamedIniCollectionItem
Description
TIniCollectionItem is a
tcollectionitem
descendent which has some extra methods for saving/loading the item to or
from an
.ini file.
To use this class, a descendent should be made, and the SaveToIni and LoadFromIni methods should be overridden. They should implement the actual loading and saving. The loading and saving is always initiated by the methods in TIniCollection, LoadFromIni and SaveToIni respectively.
See also
Properties
SectionName | public | Default section name. |
Methods
GetSectionName | protected | |
SetSectionName | protected | |
SaveToIni | public | Method called when the item must be saved. |
LoadFromIni | public | Method called when the item must be loaded. |
SaveToFile | public | Save item to a file. |
LoadFromFile | public | Load item from a file. |
Inherited
From TCollectionItem (13)
Changed Collection Create Destroy DisplayName GetDisplayName GetNamePath GetOwner ID Index SetCollection SetDisplayName SetIndex
From TPersistent (6)
Assign AssignTo DefineProperties FPOAttachObserver FPODetachObserver FPONotifyObservers
From TObject (40)
AfterConstruction BeforeDestruction CheckDisposed ClassInfo ClassName ClassNameIs ClassParent ClassType CleanupInstance DefaultHandler DefaultHandlerStr Dispatch DispatchStr Disposed DisposeOf Equals FieldAddress Free FreeInstance GetDisposed GetHashCode GetInterface GetInterfaceByStr GetInterfaceEntry GetInterfaceEntryByStr GetInterfaceTable GetInterfaceWeak GetLastCastErrorInfo InheritsFrom InitInstance InstanceSize MethodAddress MethodName newinstance QualifiedClassName SafeCallException StringMessageTable SystemHasExtendedRTTI ToString UnitName
An experiment, built from development snapshots. Not the official Free Pascal or Lazarus documentation.
