S
samuelberthelot
Hi,
I've got 3 textboxes and 3 buttons on my form.
When I press enter in the first textbox, I'd like to have a click
performed on the first button.
Same thing for the other 2.
I have a function that is called OnKeyPress event of my textboxes.
2 issues:
- How can I find out which textbox called the function ?
- How can I perform a click on a button (the appropriate one) from the
code ?
thank you
I've got 3 textboxes and 3 buttons on my form.
When I press enter in the first textbox, I'd like to have a click
performed on the first button.
Same thing for the other 2.
I have a function that is called OnKeyPress event of my textboxes.
2 issues:
- How can I find out which textbox called the function ?
- How can I perform a click on a button (the appropriate one) from the
code ?
thank you