TIniComponent, palette SmartSCADA System, unit IniComponent.pas
Component that encapsulate TIniFile object. Linking this component to other process components enables reading and writing specific properties of process components (range, values, names etc.)
PROPERTIES
IniFileName: String;
Name (path) of Ini file that is used to write data. If full path is not given, defaults are Windows system paths.
METHODS
procedure Read(AComponent: TComponent);
Reads data from ini file.
procedure Write(AComponent: TComponent);
Writes data to ini file.
PROPERTIES
IniFileStatus
IniFileStatus values are given in next table:
|
Value
|
Description
|
|
ifsNone
|
No reading and writing from/to INI file
|
|
ifsReadWrite
|
Read and write from/to ini file is always enabled
|
|
ifsRead
|
Read from ini file is always enabled
|
|
ifsWrite
|
Write to ini file is always enabled
|
|
ifsReadWriteRT
|
Read and write from/to ini file is enabled in runtime
|
|
ifsReadRT
|
Read from ini file is enabled Run Time
|
|
ifsWriteRT
|
Write to ini file is enabled in Run Time
|
|
ifsReadWriteDS
|
Read and write from/to ini file is enabled in design time
|
|
ifsReadDS
|
Read from ini file is enabled in design time
|
|
ifsWriteDS
|
Write to ini file is enabled in design time
|