C
Charles Law
Could someone please explain to me, in words of one syllable or less, how I
get the Validating event to fire for a form.
I have a form with one text box, and two buttons: OK and Cancel.
I have the OK button set as the AcceptButton and the Cancel button as the
.... well, you've guessed it.
I click OK and the form closes, without going to the Form1_Validating event.
I could validate in the Click event of the OK button, but I can't cancel the
form close from there? This is a simple form, straight out of the box.
Could someone please put me straight?
TIA
Charles
get the Validating event to fire for a form.
I have a form with one text box, and two buttons: OK and Cancel.
I have the OK button set as the AcceptButton and the Cancel button as the
.... well, you've guessed it.
I click OK and the form closes, without going to the Form1_Validating event.
I could validate in the Click event of the OK button, but I can't cancel the
form close from there? This is a simple form, straight out of the box.
Could someone please put me straight?
TIA
Charles