|
|
|
SftTree.GetNextShown Method |
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.NET |
NextItemIndex = object.GetNextShown(ByVal ItemIndex As Integer) As Integer |
||
VB |
NextItemIndex = object.GetNextShown(ByVal ItemIndex As Long) As Long |
||
C#.NET |
int NextItemIndex = object.GetNextShown(int ItemIndex); |
||
VC++ |
long NextItemIndex = object->GetNextShown(long ItemIndex); |
||
C |
HRESULT object->raw_GetNextShown(long ItemIndex, long* NextItemIndex); |
||
Delphi |
NextItemIndex := object.GetNextShown(ItemIndex : Integer) : Integer; |
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