Hide

SftBox/OCX 5.0 - Combo Box Control

Display
Print

SftBoxItem.FirstDependent Property

Returns the item's first dependent (child item).

Syntax

Get

VB.NETItemIndex = object.FirstDependent As Integer
VBItemIndex = object.FirstDependent As Long
C#.NETint ItemIndex = object.FirstDependent;
VC++long ItemIndex = object->FirstDependent;
long ItemIndex = object->GetFirstDependent();
CHRESULT object->get_FirstDependent(long* ItemIndex);

object

A SftBoxItem object.

ItemIndex

Returns the zero-based index of the first child item of the item described by object. If the item doesn't have any child items, the returned value is -1.

Comments

The FirstDependent property returns the item's first dependent (child item).

The Item.LastDependent property returns the last child item.

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

See Also SftBoxItem Object | Object Hierarchy


Last Updated 08/13/2020 - (email)
© 2024 Softel vdm, Inc.