Hide

SftTree/OCX 7.5 - ActiveX Tree Control

Display
Print

MultiSelect Property, SftTreeItems Object

Defines whether one or multiple items can be selected at a time.

Syntax

Get

VB.NETStyle = object.MultiSelect As SftTreeMultiSelectConstants
VBStyle = object.MultiSelect As SftTreeMultiSelectConstants
C#.NETSftTreeMultiSelectConstants Style = object.MultiSelect;
VC++enum SftTreeMultiSelectConstants Style = object->MultiSelect;
enum SftTreeMultiSelectConstants Style = object->GetMultiSelect();
CHRESULT object->get_MultiSelect(enum SftTreeMultiSelectConstants* Style);

Put

VB.NETobject.MultiSelect = Style As SftTreeMultiSelectConstants
VBobject.MultiSelect = Style As SftTreeMultiSelectConstants
C#.NETSftTreeMultiSelectConstants object.MultiSelect = Style;
VC++enum SftTreeMultiSelectConstants object->MultiSelect = Style;
void object->PutMultiSelect(enum SftTreeMultiSelectConstants Style);
CHRESULT object->put_MultiSelect(enum SftTreeMultiSelectConstants Style);

object

A SftTreeItems object.

Style

Defines whether one or multiple items can be selected at a time.

StyleValueDescription
selectSftTreeSingle0Only one item can be selected at a time. A new selection automatically deselects the previously selected item.
selectSftTreeMulti1One or more items can be selected using the mouse. Using the CONTROL key causes additional items to be selected without removing previous selections. Using the SHIFT key causes ranges of items to be selected, starting at the last position.

Comments

The MultiSelect property defines whether one or multiple items can be selected at a time.

Any selections made before changing the MultiSelect property are lost.

See Also SftTreeItems Object | Object Hierarchy


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