Easiest way is to use a checkbox with its style set to graphical. Only thing you need to consider is to put your code into the mouseup event (not the click event) and set the checkbox's value to 0 to make it pop up again like a button.