Determines the distance of the pointer from the left edge of the specified object.
DataWindow type |
Method applies to |
---|---|
PowerBuilder |
DataWindow control |
integer objectname.PointerX ( )
Argument |
Description |
---|---|
objectname |
The name of the control or window for which you want the pointer’s distance from the left edge. If you do not specify objectname, PointerX reports the distance from the left edge of the current sheet or window. |
Returns the pointer’s distance from the left edge of objectname in PowerBuilder units if it succeeds and –1 if an error occurs.
Inherited from DragObject. For information, see PointerX in the PowerScript Reference.