Connection Information

To perform the requested action, WordPress needs to access your web server. Please enter your FTP credentials to proceed. If you do not remember your credentials, you should contact your web host.

Connection Type

GetItemAtPointer – PB Docs 150 – PowerBuilder Library

GetItemAtPointer – PB Docs 150

GetItemAtPointer PowerScript function

Description

Gets the
handle or the index of the item under the cursor.

Controls

ListView controls, TreeView controls

Syntax

Argument

Description

controlname

The name of the control whose handle
or index you want to obtain.

Return Values

Long. Returns the index (ListView) or
handle (TreeView) of the item under the cursor. Returns -1 for failure.

Usage

System events that select an item in a ListView or TreeView
control, such as the Clicked event, already have an argument that
passes the index for the ListView or the handle for the TreeView.
The GetItemAtPointer function allows you to retrieve
the index or handle in user events (or system events without an index
or handle argument) for a ListView or TreeView control.

Examples

This example places the handle of a TreeView item
in a SingleLineEdit box:

See Also


Document get from Powerbuilder help
Thank you for watching.
Was this article helpful?
Subscribe
Notify of
guest
0 Comments
Oldest
Newest Most Voted
Inline Feedbacks
View all comments
0
Would love your thoughts, please comment.x
()
x