Hide

SftBox/OCX 5.0 - Combo Box Control

Display
Print

SftBoxItem.Parent Property

Returns the item's parent item.

Syntax

Get

VB.NETItemIndex = object.Parent As Integer
VBItemIndex = object.Parent As Long
C#.NETint ItemIndex = object.Parent;
VC++long ItemIndex = object->Parent;
long ItemIndex = object->GetParent();
CHRESULT object->get_Parent(long* ItemIndex);

object

A SftBoxItem object.

ItemIndex

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

Comments

The Parent property returns the item's parent item.

The Parent property returns the index of the parent item of the immediately preceding level (an immediate parent). To find an item's top-most parent item, use the Item.TopParent property instead.

See Also SftBoxItem Object | Object Hierarchy


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