Returns an object reference to a TreeItem object located at a specified position.

Syntax

[<oRef> =] getItemByPos( <col expN>, <row expN> )

<oRef>

A variable or property in which to store the TreeItem object reference returned by getItemByPos( ).

<col expN>

The horizontal position, within a TreeView object, to check for a TreeItem.

<row expN>

The vertical position, within a TreeView object, to check for a TreeItem.

Property of

TreeView

Description

Use getItemByPos( ), within a TreeView mouse event handler, to determine on which TreeItem object the user clicked. If no TreeItem was clicked, getItemByPos( ) returns a null value.