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 location used to load and save layout information.
Get
VB.NET | RegistryPath = object.RegistryLocation As String |
VB | RegistryPath = object.RegistryLocation As String |
C#.NET | string RegistryPath = object.RegistryLocation; |
VC++ | _bstr_t RegistryPath = object->RegistryLocation; _bstr_t RegistryPath = object->GetRegistryLocation(); |
C | HRESULT object->get_RegistryLocation(BSTR* RegistryPath); |
Put
VB.NET | object.RegistryLocation = RegistryPath As String |
VB | object.RegistryLocation = RegistryPath As String |
C#.NET | string object.RegistryLocation = RegistryPath; |
VC++ | _bstr_t object->RegistryLocation = RegistryPath; void object->PutRegistryLocation(_bstr_t RegistryPath); |
C | HRESULT object->put_RegistryLocation(BSTR RegistryPath); |
object
RegistryPath
Defines the Registry path where the column layout and control information is located (see below).
The RegistryLocation property defines the Registry location used to load and save layout information.
The RegistryLocation property must be set at design-time to take effect.
If the RegistryLocation property and optionally the RegistryEntry property define a valid Registry entry, all relevant run-time, user-accessible customizations, such as column widths and sort order, are automatically preserved by the control. The LoadLayout and SaveLayout methods can be used to preserve this information under application control instead.
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.
For example, a RegistryLocation of "USR:Software\Softelvdm\Samples\Test" and RegistryEntry "Layout" would store all control customizations in the Registry entry HKEY_CURRENT_USER\Softelvdm\Samples\Test\Layout.
The column widths, dropdown width and height for combo box style controls, sort column and sort direction are loaded. The AutoSizeColumns property may prevent the loaded column widths from taking effect.
See Also SftDirectory Object | Object Hierarchy