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

PointerY – PB Docs 2018 – PowerBuilder Library

PointerY – PB Docs 2018

PointerY

PowerScript function

Description

Determines the distance of the pointer from the top of the specified
object.

Applies to

Any object or control

Syntax

Argument

Description

objectname

The name of the control or window for which you want
the pointer’s distance from the top. If you do not specify
objectname, PointerY reports the distance from the top of the
current sheet or window.

Return value

Integer. Returns the pointer’s distance from the top of
objectname in PowerBuilder units if it succeeds and -1 if an error occurs.
If objectname is null, PointerY returns null.

Examples

In a script for a control in a window, the following example stores
the distance of the pointer from the top of the window in the variable
li_dist. If the pointer is 10 units from the top of the window, li_dist
equals 10:

This statement in a control’s RButtonDown script displays a pop-up
menu m_Appl.M_Help at the cursor position:

See also

PointerX

PopMenu

WorkSpaceHeight

WorkSpaceWidth

WorkSpaceX

WorkSpaceY


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