SftTree/OCX 7.0

SftTree.SelectionGroups Property

Softel vdm, Inc.

Returns the number of groups of selected items.

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

Syntax       

Get

VB.NET

Count = object.SelectionGroups  As Integer

VB

Count = object.SelectionGroups  As Long

C#.NET

int Count = object.SelectionGroups;

VC++

long Count = object->SelectionGroups;
long Count = object->GetSelectionGroups();

C

HRESULT object->get_SelectionGroups(long* Count);

Delphi

Count := object.SelectionGroups   : Integer;

object

A SftTree object.

Count

Returns the number of groups of selected items.

Comments

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

The SelectionGroups property returns the number of groups of selected items.

In a multiple selection tree control, many discontiguous groups of items may be selected.  While the Items.Selection property returns an index for each selected item, the Items.SelectionGroupStart and Items.SelectionGroupEnd properties return each group of selected items.  For a large number of selected items this is the preferred method.

See Also  SftTree Object | Object Hierarchy


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