| Class TAppEnvironment (unit AppEnv) |
TObject
| Constructors |
constructor Create(szINIFilename: String);| Functions |
function iGetINIInteger(szSection, szKey: String; iDefault: Integer): Integer;
procedure SetINIString(szSection, szKey, szNewValue: String);
function szGetINIFilename: String;
function szGetINIString(szSection, szKey, szDefault: String): String;| Properties |
| Events |
| Variables |
m_szINIFilename : String;| Constructors |
constructor Create(szINIFilename: String);Public constructor
| Functions |
function iGetINIInteger(szSection, szKey: String; iDefault: Integer): Integer;Return the result or default.
procedure SetINIString(szSection, szKey, szNewValue: String);Call the Windows API to read the INI file.
function szGetINIFilename: String;Methods for getting and setting INI values.
Call the Windows API to read the INI file.
function szGetINIString(szSection, szKey, szDefault: String): String;Stash away the INI file name for later use.
| Properties |
| Events |
| Variables |
m_szINIFilename : String;Name of the application's .INI file.