Zum Inhalt springen

Programmieren mit dBASE PLUS: Funktionen: getItemByPos

Aus Wikibooks


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

Syntax

[Bearbeiten]

[<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

[Bearbeiten]

TreeView

Beschreibung

[Bearbeiten]

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.