SftTree/OCX 7.0

SftTreeItems.FirstShown Property

Softel vdm, Inc.

Returns the index of the first visible item in the tree control.

Syntax       

Get

VB.NET

ItemIndex = object.FirstShown  As Integer

VB

ItemIndex = object.FirstShown  As Long

C#.NET

int ItemIndex = object.FirstShown;

VC++

long ItemIndex = object->FirstShown;
long ItemIndex = object->GetFirstShown();

C

HRESULT object->get_FirstShown(long* ItemIndex);

Delphi

ItemIndex := object.FirstShown   : Integer;

object

A SftTreeItems object.

ItemIndex

Returns the index of the first visible item in the tree control.  -1 is returned, if no item is found.

Comments

The FirstShown property returns the index of the first visible item in the tree control.

Use Item.NextShown, Item.PrevShown, Items.LastShown to retrieve information about item visibility.

See Also  SftTreeItems Object | Object Hierarchy


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