## The `Screentoclient' method

Argument: 2-element integer vector
Result: 2-element integer vector

Valid for: Any visible control

This method converts coordinates relative to the whole screen to coordinates relative to the client area of the control. Both the argument and the result are two-element vectors of Row position, Column position (i.e. Y, X), always expressed in pixels. The `scale` properties of the control and System objects are ignored.

This method is particularly useful for relating mouse position coordinates reported in ŒEV to coordinates within the control.

Topic: APLX Help : System Classes : Methods : Screentoclient

[ Previous | Next | Contents | Index ]