Hide

SftOptions 1.0 - ActiveX Options Control

Display
Print

SftOptions.ExpandButtons Property

Defines whether expand buttons are shown.

Syntax

Get

VB.NETBoolean = object.ExpandButtons As Boolean
VBBoolean = object.ExpandButtons As Boolean
C#.NETbool Boolean = object.ExpandButtons;
VC++VARIANT_BOOL Boolean = object->ExpandButtons;
VARIANT_BOOL Boolean = object->GetExpandButtons();
CHRESULT object->get_ExpandButtons(VARIANT_BOOL* Boolean);

Put

VB.NETobject.ExpandButtons = Boolean As Boolean
VBobject.ExpandButtons = Boolean As Boolean
C#.NETbool object.ExpandButtons = Boolean;
VC++VARIANT_BOOL object->ExpandButtons = Boolean;
void object->PutExpandButtons(VARIANT_BOOL Boolean);
CHRESULT object->put_ExpandButtons(VARIANT_BOOL Boolean);

object

A SftOptions object.

Boolean

Defines whether expand buttons are shown.

BooleanDescription
TrueExpand/collapse buttons are shown.
FalseExpand/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


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