Click here to Skip to main content
15,889,281 members
Please Sign up or sign in to vote.
5.00/5 (1 vote)
See more:
Hi all,

I have an image that I want to use as a button. i.e the click event fires on the MouseUp event within the image. It's currently firing on MouseDown. How can I do this? I don't wish to use a button with an image as it's content.

Regards,

Jib
Posted

1 solution

 
Share this answer
 
Comments
Jibrohni 28-Mar-11 9:43am    
thanks, that looks useful.

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900