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
Loads the column layout and control information from the specified Registry location.
VB.NET | object.LoadLayout(ByVal RegistryPath As String, ByVal EntryName As String) |
VB | object.LoadLayout(ByVal RegistryPath As String, ByVal EntryName As String) |
C#.NET | void object.LoadLayout(string RegistryPath, string EntryName); |
VC++ | HRESULT object->LoadLayout(_bstr_t RegistryPath, _bstr_t EntryName); |
C | HRESULT object->raw_LoadLayout(BSTR RegistryPath, BSTR EntryName); |
object
RegistryPath
Defines the Registry path where the column layout and control information is located (see below).
EntryName
Defines the Registry entry, located at RegistryPath, where the column layout and control information is located (see below). If an empty string is specified, the "(Default)" entry at RegistryPath is used.
The LoadLayout method loads the column layout and control information from the specified Registry location.
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 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.
If the RegistryLocation property is defined, the control automatically invokes LoadLayout and SaveLayout, when it is created and destroyed.
SftDirectory1.LoadLayout "USR:Software\Softelvdm\Samples\Test", "Layout"
See Also SftDirectory Object | Object Hierarchy