SftOptions 1.0

SftOptionsEntry.Collapse Method

Softel vdm, Inc.

Collapses the entry (hides child entries).

Syntax       

VB.NET

object.Collapse

VB

object.Collapse

C#.NET

void object.Collapse();

VC++

HRESULT object->Collapse();

C

HRESULT object->raw_Collapse();

Delphi

procedure object.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


Feedback / comments / error reports for this topic
© 2002 - Softel vdm, Inc. - www.softelvdm.com