TRsRegistry
Created by Jeff Hiscock
Created on 03/15/00 9:28 PM
Component for reading and writing to the windows registry
TComponent
There are no public properties.
| Name | Data Type | Notes |
| BaseKey | String | Defaulted to
Software\Rapid\ Sub key of HKEY_CURRENT_USER\ |
| TargetKey | String | Sub key below the base key |
| TargetValue | String | Value name to read or write |
| DontCreate | Bool | If false the entry is created when written. |
| Declaration | Notes |
| String ReadString() | Read the string value based on the Base Key , Target Key and Value properties |
| bool ReadBool() | Read a Boolean value as above |
| int ReadInteger() | Read an integer value as above |
| void ReadSection( TStringList* retvals) | Reads a section based on the current TargetKey + SubKey. The return values are in the in/out parameter. This TStringList must not be NULL when called. |
| bool WriteString(String value) | Write the string value based on the Base Key, Target Key and the Value properties. Return value is if the read was successful |
| bool WriteBool (bool value) | Write Boolean value as above |
| bool WriteInteger (int value) | Write integer value as above |
| Declaration | Notes |
| Classes::TnotifyEvent OnReadError | Event for exception on read |
| Classes::TnotifyEvent OnWriteError | Event for exception on write |