S
Simon Verona
I have a usercontrol with code in the "leave" event which updates the final
data back into a database.
This works fine except if I have a default "accept" button on a form and
invoke it by pressing the ENTER key on the keyboard. In this case, it would
appear that whilst the code on the button is executing and therefore
presumably the button actually has focus, the leave event in the user
control is not fired.
Should I be interfacing with another event on the usercontrol instead of the
"leave" event.. or is there some other way round the problem?
Thanks in advance
Simon
data back into a database.
This works fine except if I have a default "accept" button on a form and
invoke it by pressing the ENTER key on the keyboard. In this case, it would
appear that whilst the code on the button is executing and therefore
presumably the button actually has focus, the leave event in the user
control is not fired.
Should I be interfacing with another event on the usercontrol instead of the
"leave" event.. or is there some other way round the problem?
Thanks in advance
Simon