ClickCoordinates

This command has been deprecated in the RFgen 5.2 release.

Device.Clickcoordinates returns the last set of X, Y coordinates relative to the control that was clicked. For example, after clicking on an image control, a call to this command will return X, Y coordinates with 0, 0 being the upper left corner of the image control. If there is a label or caption for the control, its area is included as possible click space. Note: this will not work on some controls that require clicks such as a signature capture box.

Group:Device Extensions


Syntax: Device.ClickCoordinates(vX, vY)

vX        (Variant) the horizontal axis pixel in the last click event

vY        (Variant) the vertical axis pixel in the last click event

Example:

Dim vX as Variant>

Dim vY as Variant

Device.ClickCoordinates(vX, vY)