How to find x,y of stilus on image ?

nomick

Member
I've tried to add event mousedown to image-control on form, but when I "click" on image - no reaction. How can I find coordinates of touching point on image then ? Mousedown event on the form works fine, but I need several images and to get exact coordinates of touches. Thanks in advance !
 

nomick

Member
Yes, I wrote that I know about that way, but how can I put several images on a form simultaneously ? I think it's impossible :) It would be much easier could I just add event mousedown to the image-control. At PDA almost all control can be made only by pen, so it's nessesary to know the x-y of touch. But now that image-control can be used just as a Big Beautiful Button... :(
Well, another way - can I bring the form to the front and make it transparent to see background images and intercept touches ?
 
Top