G
Guest
On a form I would like to simulate a button click when the Enter is pressed.
My form is setup and it works if the delegate for the key pressed on the form
calls the delegate for the button pressed. But can we simulate a button click
instead?
This way if later the delegate is changed for the button, we don't forget to
do the changes on other events?
My form is setup and it works if the delegate for the key pressed on the form
calls the delegate for the button pressed. But can we simulate a button click
instead?
This way if later the delegate is changed for the button, we don't forget to
do the changes on other events?