Hide

SftTree/OCX 7.5 - ActiveX Tree Control

Display
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

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

Put

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

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 insure 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 08/13/2020 - (email)
© 2024 Softel vdm, Inc.