HeaderPane
Main
Hide
Share Link
Print

TopIndex Property, SftTree Object

Defines the index of the first item displayed in the tree control's client area.

Deprecated - Provided for compatibility with earlier versions only - Use Items.TopIndex instead

Syntax

Get

C#int ItemIndex = object.TopIndex;
VB.NETItemIndex = object.TopIndex As Integer
C++long ItemIndex = object->TopIndex;
long ItemIndex = object->GetTopIndex();
CHRESULT object->get_TopIndex(long* ItemIndex);
VBItemIndex = object.TopIndex As Long

Put

C#int object.TopIndex = ItemIndex;
VB.NETobject.TopIndex = ItemIndex As Integer
C++long object->TopIndex = ItemIndex;
void object->PutTopIndex(long ItemIndex);
CHRESULT object->put_TopIndex(long ItemIndex);
VBobject.TopIndex = ItemIndex As Long

object

A SftTree object.

ItemIndex

Defines the index of the first item displayed in the tree control's client area.

Comments

Deprecated - Provided for compatibility with earlier versions only - Use Items.TopIndex instead

The TopIndex property defines the index of the first item displayed in the tree control's client area.

The Item.MakeVisible method can be used to ensure that an item is displayed anywhere in the tree control area. The TopIndex property is used to make the item specified the very first item shown in the tree control area.

See Also SftTree Object | Object Hierarchy


Last Updated 11/14/2026 - (email)
© 2026 Softel vdm, Inc.