Please enable JavaScript to view this site.

ESL Documentation

subroutine OS_DialogToGraphical(integer: X, integer: Y)

subroutine OS_GraphicalToDialog(integer: X, integer: Y)

 

Converts X/Y coordinates between dialog units and ESL graphical units.

 

NB: Graphical units are those defined for the desktop (in Screen size...).

 

Within a scaled graphical region, additional conversion will be required to compensate for the scale factor.

(This can be obtained from the ratio of the region's x/ysize to its window x/ysize.)