SftOptions 1.0

SftOptions.ExpandButtons Property

Softel vdm, Inc.

Defines whether expand buttons are shown.

Syntax       

Get

VB.NET

Boolean = object.ExpandButtons  As Boolean

VB

Boolean = object.ExpandButtons  As Boolean

C#.NET

bool Boolean = object.ExpandButtons;

VC++

VARIANT_BOOL Boolean = object->ExpandButtons;
VARIANT_BOOL Boolean = object->GetExpandButtons();

C

HRESULT object->get_ExpandButtons(VARIANT_BOOL* Boolean);

Delphi

Boolean := object.ExpandButtons   : WordBool;

Put

VB.NET

object.ExpandButtons = Boolean  As Boolean

VB

object.ExpandButtons = Boolean  As Boolean

C#.NET

bool object.ExpandButtons = Boolean;

VC++

VARIANT_BOOL object->ExpandButtons = Boolean;
void object->PutExpandButtons(VARIANT_BOOL Boolean);

C

HRESULT object->put_ExpandButtons(VARIANT_BOOL Boolean);

Delphi

object.ExpandButtons := Boolean   : WordBool;

object

A SftOptions object.

Boolean

Defines whether expand buttons are shown.

Boolean

Description

True

Expand/collapse buttons are shown.

False

Expand/collapse buttons are not shown.

Comments

The ExpandButtons property defines whether expand buttons are shown.

The user can click on expand/collapse buttons to expand and collapse the entry so its child items are visible/hidden.

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 2", entrySftOptionsTopic, "", "", _
    Nothing, "", "", "", ""
SftOptions1.CollapseAll
SftOptions1.InitializationComplete  

See Also  SftOptions Object | Object Hierarchy


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