X,Y coordinates
Hi
I wasn't too sure if I should post this Here or in BUGs Report...
when using mouse events in portrait mode, the x,y coordinates are inverted to our perspective..
Confused?
If you use this code
Sub myform_mousedown(x,y)
msg(x&";"y)
End Sub
The coordinates are related ALWAYS to landscape mode, being the x the height and y the width...so in Portrait, they are inverted, being x the width and y the height...
Hope this helps someone...
__________________
Paulo Gomes
Porto, Portugal
PC: Dual-Core 1,8Ghz, 2GB RAM, 80GB HD
PPC: Qtek9000, 1GB SD
Last edited by Cableguy : 05-24-2007 at 07:22 PM.
|