How to "call" and event
I have a form containing a textbox and a button. The textbox has code in the Validating and Validated events. The validation code is only called if the textbox gains focus so that the Leave event fires. I want the text box validation to fire if the button is clicked and the textbox never had focus. Is there a way to do this?
Thanks
5 Answers
Know the answer? Post it. Somebody with the same question will find it here.

joy.simpsonRank #4,292 · 353 reputationPosted Jun 30, 2004, 3:31 PM EDT
Andrzej WegierskiRank #1,729 · 877 reputationPosted Jul 1, 2004, 6:04 AM EDT
xmail12316 reputationPosted Jul 1, 2004, 6:58 AM EDT
Andrzej WegierskiRank #1,729 · 877 reputationPosted Jul 1, 2004, 11:30 PM EDT
xmail12316 reputationPosted Jul 2, 2004, 5:27 AM EDT