Click x and y position


#1

Is that possible to get X and Y position when click on a picture control?

Thanks
Teo


#2

Yes - here’s how:

Function PictureBox1_onclick(event)
  Msgbox event.x & ", " & event.y
End Function