Hide

SftTree/OCX 7.5 - ActiveX Tree Control

Display
Print

NextSibling Property, SftTree Object

Returns the index of an item's next sibling item.

Deprecated - Provided for compatibility with earlier versions only - Use Item.NextSibling instead

Syntax

Get

VB.NETSiblingIndex = object.get_NextSibling(ByVal ItemIndex As Integer) As Integer
VBSiblingIndex = object.NextSibling(ByVal ItemIndex As Long) As Long
C#.NETint SiblingIndex = object.get_NextSibling(int ItemIndex);
VC++long SiblingIndex = object->NextSibling[long ItemIndex];
long SiblingIndex = object->GetNextSibling(long ItemIndex);
CHRESULT object->get_NextSibling(long ItemIndex, long* SiblingIndex);

object

A SftTree object.

ItemIndex

The zero-based index of the item whose next sibling item is to be returned.

SiblingIndex

Returns the index of the item's next sibling item. -1 is returned if the item doesn't have a next sibling.

Comments

Deprecated - Provided for compatibility with earlier versions only - Use Item.NextSibling instead

The NextSibling property returns the index of an item's next sibling item.

The next sibling of item ItemIndex is found by scanning towards the end of the tree control and locating an item on the same level (Item.Level property) as item ItemIndex without encountering a parent item.

The Item.PrevSibling property can be used to retrieve an item's previous sibling. The Item.FirstSibling and Item.LastSibling properties can be used to retrieve an item's first or last sibling.

See Also SftTree Object | Object Hierarchy


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