X,Y coordinates

Cableguy

Expert
Licensed User
Longtime User
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...
 
Last edited:
Top