Programmieren mit dBASE PLUS: Funktionen: getItemByPos

Aus Wikibooks
Zur Navigation springen Zur Suche springen
Wikibooks buchseite.svg Zurück zu Funktionen | One wikibook.svg Hoch zu Regal EDV | Wikibooks buchseite.svg Vor zu Inhaltsverzeichnis


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.