SftBox/OCX 4.5

SftBoxItem.FirstSibling Property

Softel vdm, Inc.

Returns the item's first sibling.

Syntax       

Get

VB.NET

ItemIndex = object.FirstSibling  As Integer

VB

ItemIndex = object.FirstSibling  As Long

C#.NET

int ItemIndex = object.FirstSibling;

VC++

long ItemIndex = object->FirstSibling;
long ItemIndex = object->GetFirstSibling();

C

HRESULT object->get_FirstSibling(long* ItemIndex);

Delphi

ItemIndex := object.FirstSibling   : Integer;

object

A SftBoxItem object.

ItemIndex

Returns the zero-based index of the first sibling item of the item described by object. If the item doesn't have a sibling item, the index of the item described by object is returned.

Comments

The FirstSibling property returns the item's first sibling.

Also see Item.NextSibling, Item.PrevSibling, Item.LastSibling.


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