SftTree/OCX 7.0

SftTree.TopIndex Property

Softel vdm, Inc.

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.NET

ItemIndex = object.TopIndex  As Integer

VB

ItemIndex = object.TopIndex  As Long

C#.NET

int ItemIndex = object.TopIndex;

VC++

long ItemIndex = object->TopIndex;
long ItemIndex = object->GetTopIndex();

C

HRESULT object->get_TopIndex(long* ItemIndex);

Delphi

ItemIndex := object.TopIndex   : Integer;

Put

VB.NET

object.TopIndex = ItemIndex  As Integer

VB

object.TopIndex = ItemIndex  As Long

C#.NET

int object.TopIndex = ItemIndex;

VC++

long object->TopIndex = ItemIndex;
void object->PutTopIndex(long ItemIndex);

C

HRESULT object->put_TopIndex(long ItemIndex);

Delphi

object.TopIndex := ItemIndex   : Integer;

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


Feedback / comments / error reports for this topic
© 2015 - Softel vdm, Inc. - www.softelvdm.com