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 control contents.
VB.NET | object.Load(ByVal Filename As String, ByVal StreamName As String, ByVal Format As SftBoxSaveFormatConstants, ByRef PropertiesLoaded As Object, ByVal Stream As IStream) |
VB | object.Load(ByVal Filename As String, ByVal StreamName As String, ByVal Format As SftBoxSaveFormatConstants, PropertiesLoaded As Variant, Stream As IStream) |
C#.NET | void object.Load(string Filename, string StreamName, SftBoxSaveFormatConstants Format, out object PropertiesLoaded, IStream Stream); |
VC++ | HRESULT object->Load(_bstr_t Filename, _bstr_t StreamName, enum SftBoxSaveFormatConstants Format, const _variant_t&* PropertiesLoaded, IStream* Stream); |
C | HRESULT object->raw_Load(BSTR Filename, BSTR StreamName, enum SftBoxSaveFormatConstants Format, VARIANT* PropertiesLoaded, IStream* Stream); |
object
Filename
A file name, from where the contents are to be loaded. If the Filename argument is not NULL/Nothing, the Stream, StreamName arguments must be NULL/Nothing.
StreamName
Reserved for future use - Ignored. A stream name (part of the compound file FileName), from where the contents are to be loaded.
Format
Defines the format of the data being loaded.
Name | Value | Description |
---|---|---|
saveFormatSftBoxStream | 0 | Stream |
saveFormatSftBoxPropertyPages | 1 | Stream as used by Property Page dialog (Load/Save Properties) - always saves all properties. The filename must be specified and the PropertiesLoaded argument is ignored. |
PropertiesLoaded
Set to True to load combo box control properties (in addition to items and their attributes), False to load just the items and their attributes. If the saved data doesn't contain data matching the requested data, an error occurs. This value must match the Properties argument of the Save method used to save the data.
Stream
The stream (IStream interface) from where the data is loaded. The Stream argument must be NULL/Nothing, if the Filename argument is not NULL/Nothing.
The Load method loads the control contents.
The Save method can be used to save the control contents in a format suitable for the Load method.
See Also SftBox Object | Object Hierarchy