Hide

SftTree/OCX 7.5 - ActiveX Tree Control

Display
Print

SelectRange Method, SftTreeItems Object

Selects or deselects a range of items.

Syntax

VB.NETobject.SelectRange(ByVal IndexStart As Integer, ByVal IndexEnd As Integer, ByVal Status As Boolean)
VBobject.SelectRange(ByVal IndexStart As Long, ByVal IndexEnd As Long, ByVal Status As Boolean)
C#.NETvoid object.SelectRange(int IndexStart, int IndexEnd, bool Status);
VC++HRESULT object->SelectRange(long IndexStart, long IndexEnd, VARIANT_BOOL Status);
CHRESULT object->raw_SelectRange(long IndexStart, long IndexEnd, VARIANT_BOOL Status);

object

A SftTreeItems object.

IndexStart

The zero-based index of the first item to be de-/selected.

IndexEnd

The zero-based index of the last item to be de-/selected. IndexEnd must be greater or equal to IndexStart.

Status

Set to True to select the items, False to deselect them.

Comments

The SelectRange method selects or deselects a range of items.

The SelectRange method can only be used if the Items.MultiSelect property is set to selectSftTreeMulti, indicating that multiple selection is supported.

See Also SftTreeItems Object | Object Hierarchy


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