SftBox/OCX 4.5

SftBoxItem.PrevSibling Property

Softel vdm, Inc.

Returns the item's previous sibling.

Syntax       

Get

VB.NET

ItemIndex = object.PrevSibling  As Integer

VB

ItemIndex = object.PrevSibling  As Long

C#.NET

int ItemIndex = object.PrevSibling;

VC++

long ItemIndex = object->PrevSibling;
long ItemIndex = object->GetPrevSibling();

C

HRESULT object->get_PrevSibling(long* ItemIndex);

Delphi

ItemIndex := object.PrevSibling   : Integer;

object

A SftBoxItem object.

ItemIndex

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

Comments

The PrevSibling property returns the item's previous sibling.

Also see Item.FirstSibling, Item.NextSibling, Item.LastSibling.


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