Class TNewReg (unit newreg)
Inherits from
TRegistry
Constructors
constructor Create(const FileName: string; const rKey: HKEY);
TNewReg
Functions
procedure DeleteKey(const Section, Ident: String);
Destructor Destroy;
procedure EraseSection(const Section: string);
function ReadBool(const Section, Ident: string; Default: Boolean): Boolean;
function ReadInteger(const Section, Ident: string; Default: Longint): Longint;
procedure ReadSection(const Section: string; Strings: TStrings);
procedure ReadSections(Strings: TStrings);
procedure ReadSectionValues(const Section: string; Strings: TStrings);
function ReadString(const Section, Ident, Default: string): string;
procedure WriteBool(const Section, Ident: string; Value: Boolean);
procedure WriteInteger(const Section, Ident: string; Value: Longint);
procedure WriteString(const Section, Ident, Value: String);
Properties
property FileName : string
property Security : TSecureReg
Events
Variables
FFileName : string;
FSecure : TSecureReg;
Constructors
constructor Create(const FileName: string; const rKey: HKEY);
TNewReg
Functions
procedure DeleteKey(const Section, Ident: String);
Destructor Destroy;
procedure EraseSection(const Section: string);
function ReadBool(const Section, Ident: string; Default: Boolean): Boolean;
function ReadInteger(const Section, Ident: string; Default: Longint): Longint;
procedure ReadSection(const Section: string; Strings: TStrings);
procedure ReadSections(Strings: TStrings);
procedure ReadSectionValues(const Section: string; Strings: TStrings);
function ReadString(const Section, Ident, Default: string): string;
procedure WriteBool(const Section, Ident: string; Value: Boolean);
procedure WriteInteger(const Section, Ident: string; Value: Longint);
procedure WriteString(const Section, Ident, Value: String);
Properties
property FileName : string
property Security : TSecureReg
Events
Variables
FFileName : string;
FSecure : TSecureReg;