SftBox/OCX 4.5

SftBoxItem.LastSibling Property

Softel vdm, Inc.

Returns the item's last sibling item.

Syntax       

Get

VB.NET

ItemIndex = object.LastSibling  As Integer

VB

ItemIndex = object.LastSibling  As Long

C#.NET

int ItemIndex = object.LastSibling;

VC++

long ItemIndex = object->LastSibling;
long ItemIndex = object->GetLastSibling();

C

HRESULT object->get_LastSibling(long* ItemIndex);

Delphi

ItemIndex := object.LastSibling   : Integer;

object

A SftBoxItem object.

ItemIndex

Returns the zero-based index of the last 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 LastSibling property returns the item's last sibling item.

Also see Item.FirstSibling, Item.NextSibling, Item.PrevSibling


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