Class TAppEnvironment (unit AppEnv) |
Inherits from
TObject
constructor Create(szINIFilename: String);
- Public constructor
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.
function szGetINIString(szSection, szKey, szDefault: String): String;
Stash away the INI file name for later use.
m_szINIFilename : String;
Name of the application's .
constructor Create(szINIFilename: String);
Public constructor
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.
m_szINIFilename : String;
Name of the application's .INI file.