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 initially selected file/folder using a path name.
Get
VB.NET | FolderName = object.InitialFolder As String |
VB | FolderName = object.InitialFolder As String |
C#.NET | string FolderName = object.InitialFolder; |
VC++ | _bstr_t FolderName = object->InitialFolder; _bstr_t FolderName = object->GetInitialFolder(); |
C | HRESULT object->get_InitialFolder(BSTR* FolderName); |
Put
VB.NET | object.InitialFolder = FolderName As String |
VB | object.InitialFolder = FolderName As String |
C#.NET | string object.InitialFolder = FolderName; |
VC++ | _bstr_t object->InitialFolder = FolderName; void object->PutInitialFolder(_bstr_t FolderName); |
C | HRESULT object->put_InitialFolder(BSTR FolderName); |
object
FolderName
Defines the initially selected file/folder using a path name.
The InitialFolder property defines the initially selected file/folder using a path name.
The InitialFolder property can be used to select a specific file/folder. In a TreeView style control (see ControlStyle property) the folder's parent folders are automatically expanded, while collapsing all unnecessary folders.
The full pathname must be specified for FolderName, including a file extension for files (even if the file extension is not normally displayed). Particularly for links, the file extension ".lnk" must be appended.
The InitialFolderSpecial property can be used to select a file/folder using its system-independent CSIDL.
See Also SftDirectory Object | Object Hierarchy