SftTree/OCX 7.0

SftTree.MultiSelect Property

Softel vdm, Inc.

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

Deprecated - Provided for compatibility with earlier versions only - Use Items.MultiSelect instead

Syntax       

Get

VB.NET

Style = object.MultiSelect  As SftTreeMultiSelectConstants

VB

Style = object.MultiSelect  As SftTreeMultiSelectConstants

C#.NET

SftTreeMultiSelectConstants Style = object.MultiSelect;

VC++

enum SftTreeMultiSelectConstants Style = object->MultiSelect;
enum SftTreeMultiSelectConstants Style = object->GetMultiSelect();

C

HRESULT object->get_MultiSelect(enum SftTreeMultiSelectConstants* Style);

Delphi

Style := object.MultiSelect  : TOleEnum;

Put

VB.NET

object.MultiSelect = Style  As SftTreeMultiSelectConstants

VB

object.MultiSelect = Style  As SftTreeMultiSelectConstants

C#.NET

SftTreeMultiSelectConstants object.MultiSelect = Style;

VC++

enum SftTreeMultiSelectConstants object->MultiSelect = Style;
void object->PutMultiSelect(enum SftTreeMultiSelectConstants Style);

C

HRESULT object->put_MultiSelect(enum SftTreeMultiSelectConstants Style);

Delphi

object.MultiSelect := Style  : TOleEnum;

object

A SftTree object.

Style

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

Style

Value

Description

selectSftTreeSingle 

0

Only one item can be selected at a time.  A new selection automatically deselects the previously selected item.

selectSftTreeMulti

1

One 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

Deprecated - Provided for compatibility with earlier versions only - Use Items.MultiSelect instead

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  SftTree Object | Object Hierarchy


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