browser class : PointFromScreen(real,real) method
Description
Converts screen coordinates to client coordinates.
Syntax
instance.PointFromScreen(real x,real y)
Arguments
| Class | Name | Description |
| real | x | X coordinate in screen coordinates. |
| real | y | Y coordinate in screen coordinates. |
Return value
| Class | Description |
| dictionary | Converted coordinates. |
Sample code
| 1: | browser b; // Main-browser |
| 2: | dictionary dic = b.PointFromScreen(500, 500); // screen (500, 500) -> client. |
| 3: | real x = dic.ClientX; |
| 4: | real y = dic.ClientY; |
Notes
The return dictionary contains the coordinates that were converted to the browser's client coordinates.
The dictionary has the following key/value pairs.
| key | value - class | value - description |
| ClientX | real | X coordinate in client coordinates. |
| ClientY | real | Y coordinate in client coordinates. |
Links for reference
None.


