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
Collapses the folder (hides child folders).
VB.NET | object.Collapse(ByVal Delete As Boolean) |
VB | object.Collapse(ByVal Delete As Boolean) |
C#.NET | void object.Collapse(bool Delete); |
VC++ | HRESULT object->Collapse(VARIANT_BOOL Delete); |
C | HRESULT object->raw_Collapse(VARIANT_BOOL Delete); |
object
A SftDirectoryFolder object.
Delete
Defines how child folders are handled, temporarily overriding the current DeleteOnCollapse property settings.
Delete | Description |
---|---|
True | The child files/folders are removed from the control's contents. |
False | The child files/folders are not removed from the control's contents, instead they are simply hidden. |
The Collapse method collapses the folder (hides child folders).
The Collapse method has no effect in a DetailList-style control (see ControlStyle property).
Depending on the settings of the DeleteOnCollapse settings, the file/folder entries shown are deleted and need to be retrieved again, if the parent folders are expanded.
The FolderCollapsed event occurs when a folder is collapsed.
See Also SftDirectoryFolder Object | Object Hierarchy