|
|
|
| acAppGlobalSwitch component.
|
| type
|
| TacAppGlobalSwitchRegistrySaver = class
|
| public
|
| procedure Load;
|
| procedure Save;
|
| published
|
| property Enabled: Boolean;
|
|
|
| property RegLocation: TacRegLocation;
|
| property RegKey: String;
|
| end;
|
| The RegistrySaver is the set of properties which lets the component to save the Value to the system registry when application closes, and restore it on application restart.
|
|
|
| To enable this feature, to save and load the Value property from the registry set Enabled to True, and specify RegKey (registry key) and RegLocation (rlCurrentUser = HKEY_CURRENT_USER or rlLocalMachine = HKEY_LOCALMACHINE).
|
| GlobalSwitch and Value properties;
|
| OnSwitch event.
|