Determines the distance of the pointer from the top of the specified object.
DataWindow type |
Method applies to |
---|---|
PowerBuilder |
DataWindow control |
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. |
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.
Inherited from DragObject. For information, see PointerY in the PowerScript Reference.