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

