Hide

SftTree/OCX 7.5 - ActiveX Tree Control

Display
Print

SelectionGroupStart Method, SftTree Object

Returns the index of the first selected item in a group of selected items.

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

Syntax

VB.NETItemIndex = object.SelectionGroupStart(ByVal GroupIndex As Integer) As Integer
VBItemIndex = object.SelectionGroupStart(ByVal GroupIndex As Long) As Long
C#.NETint ItemIndex = object.SelectionGroupStart(int GroupIndex);
VC++long ItemIndex = object->SelectionGroupStart(long GroupIndex);
CHRESULT object->raw_SelectionGroupStart(long GroupIndex, long* ItemIndex);

object

A SftTree object.

GroupIndex

The zero-based group number for which the first selected item is to be retrieved.

ItemIndex

Returns the index of the first selected item in a group of selected items.

Comments

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

The SelectionGroupStart method returns the index of the first selected item in a group 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.

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

See Also SftTree Object | Object Hierarchy


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