Forum > Android




When mouse events are triggered on the form, the coordinates are not relative to the form.

If I have form.left = 100 and = 100, I will get the coordinate (-100, -100) instead of (0, 0) in OnMouseDown. Seems the problem is due to the FindControlPositionRelativeToTheForm() routine.

Edit: I just realized that I'm not actually showing the form -- maybe it should be translated by (left, top) even on an Android phone and then this might be correct.


[0] Message Index

Go to full version