Hide

SftOptions 1.0 - ActiveX Options Control

Display
Print

SftOptionsEntry.Collapse Method

Collapses the entry (hides child entries).

Syntax

VB.NETobject.Collapse
VBobject.Collapse
C#.NETvoid object.Collapse();
VC++HRESULT object->Collapse();
CHRESULT object->raw_Collapse();

object

A SftOptionsEntry object.

Comments

The Collapse method collapses the entry (hides child entries).

The SftOptionsEntry.Expand method can be used to expand one entry.

The CollapseAll method can be used to collapse all entries.

Example

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 1", entrySftOptionsTopic, "", "", _
	Nothing, "", "", "", ""
SftOptions1.Add "Topic2", "Cb3", "Check Box 3", entrySftOptionsCheckBox, "", "", _
	Nothing, "", "", "", ""
SftOptions1.Add "Topic2", "Cb4", "Check Box 4", entrySftOptionsCheckBox, "", "", _
	Nothing, "", "", "", ""
SftOptions1.Entry("Topic1").Collapse
SftOptions1.InitializationComplete

See Also SftOptionsEntry Object | Object Hierarchy


Last Updated 08/13/2020 - (email)
© 2024 Softel vdm, Inc.