i have designed a gui calc , i have used flat buttons for thenumbers , to get the button click feel i have changed the mouse down color , but when i use the numpad keys to do calc iam able to stimulate the click event but how do i need to stimulate MouseDown event,
+5
A:
Take the code that changes the button color from the mousedown event, refactor it into it's own method and call it from the keydown event as well.
barc0de
2010-01-21 11:44:36
code that changes the button color from the mousedown event ?
guru
2010-01-21 11:56:00