Hide

SftTree/OCX 7.5 - ActiveX Tree Control

Display
Print

GetPrevShown Method, SftTree Object

Returns the index of the previous visible item.

Deprecated - Provided for compatibility with earlier versions only - Use Items.LastShown and Item.PrevShown instead

Syntax

VB.NETPrevItemIndex = object.GetPrevShown(ByVal ItemIndex As Integer) As Integer
VBPrevItemIndex = object.GetPrevShown(ByVal ItemIndex As Long) As Long
C#.NETint PrevItemIndex = object.GetPrevShown(int ItemIndex);
VC++long PrevItemIndex = object->GetPrevShown(long ItemIndex);
CHRESULT object->raw_GetPrevShown(long ItemIndex, long* PrevItemIndex);

object

A SftTree object.

ItemIndex

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

PrevItemIndex

Returns the zero-based index of the previous 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.LastShown and Item.PrevShown instead

The GetPrevShown method returns the index of the previous 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.