Hide

SftTree/OCX 7.5 - ActiveX Tree Control

Display
Print

GetNextShown Method, SftTree Object

Returns the index of the next visible item.

Deprecated - Provided for compatibility with earlier versions only - Use Items.FirstShown and Item.NextShown instead

Syntax

VB.NETNextItemIndex = object.GetNextShown(ByVal ItemIndex As Integer) As Integer
VBNextItemIndex = object.GetNextShown(ByVal ItemIndex As Long) As Long
C#.NETint NextItemIndex = object.GetNextShown(int ItemIndex);
VC++long NextItemIndex = object->GetNextShown(long ItemIndex);
CHRESULT object->raw_GetNextShown(long ItemIndex, long* NextItemIndex);

object

A SftTree object.

ItemIndex

The zero-based index of the item whose next item is to be retrieved. If -1 is specified, the index of the first visible item in the tree control is returned.

NextItemIndex

Returns the zero-based index of the next visible item given an item ItemIndex. If -1 is returned, if no item is found.

Comments

Deprecated - Provided for compatibility with earlier versions only - Use Items.FirstShown and Item.NextShown instead

The GetNextShown method returns the index of the next visible item.

Dependent items of a collapsed parent item are skipped using this method.

Use Items.FirstShown, Item.NextShown, Item.PrevShown, Items.LastShown to retrieve information about item visibility.

See Also SftTree Object | Object Hierarchy


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