Hide

SftBox/OCX 5.0 - Combo Box Control

Display
Print

SftBoxItem.TopParent Property

Returns the item's top-most parent item.

Syntax

Get

VB.NETTopParentIndex = object.TopParent As Integer
VBTopParentIndex = object.TopParent As Long
C#.NETint TopParentIndex = object.TopParent;
VC++long TopParentIndex = object->TopParent;
long TopParentIndex = object->GetTopParent();
CHRESULT object->get_TopParent(long* TopParentIndex);

object

A SftBoxItem object.

TopParentIndex

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

Comments

The TopParent property returns the item's top-most parent item.

The TopParent property returns the top-most parent item. To find an item's immediate parent item use the Item.Parent property instead.

See Also SftBoxItem Object | Object Hierarchy


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