SftTree/DLL 7.5 - Tree Control
SftBox/OCX 5.0 - Combo Box Control
SftButton/OCX 3.0 - Button Control
SftMask/OCX 7.0 - Masked Edit Control
SftTabs/OCX 6.5 - Tab Control (VB6 only)
SftTree/OCX 7.5 - Tree Control
SftPrintPreview/DLL 2.0 - Print Preview Control (discontinued)
SftTree/DLL 7.5 - Tree Control
SftBox/OCX 5.0 - Combo Box Control
SftButton/OCX 3.0 - Button Control
SftDirectory 3.5 - File/Folder Control (discontinued)
SftMask/OCX 7.0 - Masked Edit Control
SftOptions 1.0 - Registry/INI Control (discontinued)
SftPrintPreview/OCX 1.0 - Print Preview Control (discontinued)
SftTabs/OCX 6.5 - Tab Control (VB6 only)
SftTree/OCX 7.5 - Tree Control
SftTabs/NET 6.0 - Tab Control (discontinued)
SftTree/NET 2.0 - Tree Control
Defines the registry path used to store property settings.
Get
VB.NET | RegistryPath = object.Registry As String |
VB | RegistryPath = object.Registry As String |
C#.NET | string RegistryPath = object.Registry; |
VC++ | _bstr_t RegistryPath = object->Registry; _bstr_t RegistryPath = object->GetRegistry(); |
C | HRESULT object->get_Registry(BSTR* RegistryPath); |
Put
VB.NET | object.Registry = RegistryPath As String |
VB | object.Registry = RegistryPath As String |
C#.NET | string object.Registry = RegistryPath; |
VC++ | _bstr_t object->Registry = RegistryPath; void object->PutRegistry(_bstr_t RegistryPath); |
C | HRESULT object->put_Registry(BSTR RegistryPath); |
object
RegistryPath
Defines the registry path used to store property settings (see below).
The Registry property defines the registry path used to store property settings.
The Load and Save methods are used to transfer options between the location defined by the IO.File or Registry property settings and the SftOptions control.
If the Registry property is set to a non-null string, the IO.File property is cleared.
RegistryPath must start with the prefix "USR:" or "MACH:", followed by the remainder of the registry key. USR: is equivalent to current user settings (HKEY_CURRENT_USER), MACH: is used for system settings (HKEY_LOCAL_MACHINE). No other prefix is allowed.
The IO.OptionValue property is used to retrieve (or set) an option value as it is currently saved in the location defined by the IO.File or Registry property settings. The OptionValue property value is identical to the SftOptsIO control's SftOptsIO.OptionValue property.
SftOptions1.Add "", "Main", "Your first sample", entrySftOptionsTopic, "", "", Nothing, "", "", "", "" SftOptions1.Add "Main", "Rb1", "Radio Button 1", entrySftOptionsRadioButton, "", "", Nothing, "", "", "", "" SftOptions1.Add "Main", "Rb2", "Radio Button 2", entrySftOptionsRadioButton, "", "", Nothing, "", "", "", "" SftOptions1.Add "Main", "Rb3", "Radio Button 3", entrySftOptionsRadioButton, "", "", Nothing, "", "", "", "" SftOptions1.Add "", "Cb1", "Check Box Option", entrySftOptionsCheckBox, "", "", Nothing, "", "", "", "" SftOptions1.IO.Registry = "USR:Software\Softelvdm\TestData\FirstSample" SftOptions1.Load SftOptions1.InitializationComplete
See Also SftOptionsIO Object | Object Hierarchy