GetParentItem Method 312

Applies To: TreeView

Description

This method is used to obtain the index of the parent of a particular item in a TreeView object.

The argument for GetParentItem is a single item as follows:

[1] Item number Integer.

Item number is the index of the item concerned.

The result is an integer containing the index of the parent item.