G
Guest
Hi,
I have a text box which uses the validating event to check if it's empty. If
the focus is set to this text box & I close the form, the event fires. I
don't want this to happen when I close the form. I tried setting the
'causesValidation' property of the form to false, but that didn't stop the
event firing. The false setting works ok for all other controls on the form
though.
How can I set this so as not to cause validation when I close the form?
Thanks ahead for answers
Ant
I have a text box which uses the validating event to check if it's empty. If
the focus is set to this text box & I close the form, the event fires. I
don't want this to happen when I close the form. I tried setting the
'causesValidation' property of the form to false, but that didn't stop the
event firing. The false setting works ok for all other controls on the form
though.
How can I set this so as not to cause validation when I close the form?
Thanks ahead for answers
Ant