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.

Eigenschaft von

TreeView

Beschreibung

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.

This article is issued from Wikibooks. The text is licensed under Creative Commons - Attribution - Sharealike. Additional terms may apply for the media files.