Hide

SftTree/OCX 7.5 - ActiveX Tree Control

Display
Print

Selected Property, SftTree Object

Defines whether an item is selected.

Deprecated - Provided for compatibility with earlier versions only - Use Item.Selected instead

Syntax

Get

VB.NETBoolean = object.get_Selected(ByVal ItemIndex As Integer) As Boolean
VBBoolean = object.Selected(ByVal ItemIndex As Long) As Boolean
C#.NETbool Boolean = object.get_Selected(int ItemIndex);
VC++VARIANT_BOOL Boolean = object->Selected[long ItemIndex];
VARIANT_BOOL Boolean = object->GetSelected(long ItemIndex);
CHRESULT object->get_Selected(long ItemIndex, VARIANT_BOOL* Boolean);

Put

VB.NETobject.set_Selected(ByVal ItemIndex As Integer, ByVal Boolean As Boolean)
VBobject.Selected(ByVal ItemIndex As Long) = Boolean As Boolean
C#.NETvoid object.set_Selected(int ItemIndex, bool Boolean);
VC++VARIANT_BOOL object->Selected[long ItemIndex] = Boolean;
void object->PutSelected(long ItemIndex, VARIANT_BOOL Boolean);
CHRESULT object->put_Selected(long ItemIndex, VARIANT_BOOL Boolean);

object

A SftTree object.

ItemIndex

The zero-based item index.

Boolean

Defines whether the item is selected.

BooleanDescription
TrueThe item is selected.
FalseThe item is not selected.

Comments

Deprecated - Provided for compatibility with earlier versions only - Use Item.Selected instead

The Selected property defines whether an item is selected.

The Items.SelectRange method can be used to select a range of items at one time. Items can be selected individually using the Item.Selected property.

The Items.Selection property returns the index of one or more selected items. The Items.SelectionGroupStart and Items.SelectionGroupEnd properties are used to retrieve groups of selected items.

See Also SftTree Object | Object Hierarchy


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