Rx INI

RX Library

Control Name Unit Class
TRxIniFile RxIni TRxIniFile

Description:
RxIniFile is an enhanced version of the IniFile specially designed to store FormStorage and Rx Form Placement.


Property ListItemName
Declaration: ListItemName: string;

ListItemName is the item's list name.


Event OnReadObject
Declaration: OnReadObject: TReadObjectEvent;

OnReadObject event is triggered when the data is read.


Event OnWriteObject
Declaration: OnWriteObject: TWriteObjectEvent;

OnWriteObject event is triggered when the data is written into the INI file.


Method ReadClearList
Declaration: function ReadClearList(const Section: string; List: TStrings): TStrings;

Function ReadClearList reads a string list from a section.


Method ReadColor
Declaration: function ReadColor(const Section, Ident: string; Default: TColor): TColor;

Method ReadColour allows a colour to be read from the particular section and identification part of an INI file.


Method ReadFont
Declaration: function ReadFont(const Section, Ident: string; Font: TFont): TFont;

Method ReadFont reads font details from the Section and Ident of an INI file.


Method ReadList
Declaration: function ReadList(const Section: string; List: TStrings): TStrings;

Method ReadList reads a list from a section of the INI file.


Method ReadPoint
Declaration: function ReadPoint(const Section, Ident: string; const Default: TPoint): TPoint;

Method ReadPoint reads a point from the Inifile, from Section and Ident.


Method ReadRect
Declaration: function ReadRect(const Section, Ident: string; const Default: TRect): TRect;

Method ReadRect reads the value of TRect to a section and Ident of the specified IniFile.


Method WriteColor
Declaration: procedure WriteColor(const Section, Ident: string; Value: TColor);

Method WriteColor writes the value of the colour to a section and ident of the specified IniFile.


Method WriteFont
Declaration: procedure WriteFont(const Section, Ident: string; Font: TFont);

Method WriteFont writes the value of the font to a section and identifier of the specified IniFile.


Method WriteList
Declaration: procedure WriteList(const Section: string; List: TStrings);

Method WriteList writes the value of the string list to a section of the specified IniFile.


Method WritePoint
Declaration: procedure WritePoint(const Section, Ident: string; const Value: TPoint);

Method WritePoint writes the value of TPoint to a section and Ident of the specified IniFile.


Method WriteRect
Declaration: procedure WriteRect(const Section, Ident: string; const Value: TRect);

Method WriteRect writes the value of TRect to a section and Ident of the specified IniFile.


Type TReadObjectEvent
Declaration: TReadObjectEvent = function(Sender: TObject; const Section, Item, Value: string): TObject of object;

TReadObjectEvent is the type of the OnReadObject event of the TRxIniFile class.


Type TWriteObjectEvent
Declaration: TWriteObjectEvent = procedure(Sender: TObject; const Section, Item: string; Obj: TObject) of object;

TWriteObjectEvent is the type of the OnWriteObject event of the TRxIniFile class.


Index Page | About | Download
Creation Date: 4 Feb 1998 | Last Update: 16 Mar 2000