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 all entries (hides child entries).
VB.NET | object.CollapseAll |
VB | object.CollapseAll |
C#.NET | void object.CollapseAll(); |
VC++ | HRESULT object->CollapseAll(); |
C | HRESULT object->raw_CollapseAll(); |
object
The CollapseAll method collapses all entries (hides child entries).
This method is typically only useful when initializing a form as it is displayed, to hide all child items by collapsing the parent items.
To insure that the end-user can expand the items again, the ExpandButtons property should be set to True, so expand/collapse buttons are displayed.
The Entry.Collapse method can be used to collapse one entry.
The ExpandAll method can be used to expand all parent items.
SftOptions1.ExpandButtons = True SftOptions1.Add "", "Topic1", "Sample Topic 1", entrySftOptionsTopic, "", "", _ Nothing, "", "", "", "" SftOptions1.Add "Topic1", "Cb1", "Check Box 1", entrySftOptionsCheckBox, "", "", _ Nothing, "", "", "", "" SftOptions1.Add "Topic1", "Cb2", "Check Box 2", entrySftOptionsCheckBox, "", "", _ Nothing, "", "", "", "" SftOptions1.Add "", "Topic2", "Sample Topic 2", entrySftOptionsTopic, "", "", _ Nothing, "", "", "", "" SftOptions1.CollapseAll SftOptions1.InitializationComplete
See Also SftOptions Object | Object Hierarchy