newbie question on textbox and mouse

G

Guest

Hi all,
for test purposes I have a textbox and a button, tb has a validating event, but if I click on the button
its click event is fired even though tb validate is false.the cusor stays in the tb.
how can I ensure no other buttons etc events are fired until tb has a valid text.
Hope I explained it well enough for you to help me.
THANK YOU.
 
D

David Farr

Could you channel all your button click events through one event handler and
have it check the status of the TB?
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top