Description
Determines the distance of the pointer from the top of the specified object.
Applies to
Syntax
PowerBuilder
integer objectname.PointerY ( )
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
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.
Usage
Inherited from DragObject. For information, see the section called “PointerY” in PowerScript Reference.