ErrorProvider

  • Thread starter Thread starter Jay Pondy
  • Start date Start date
J

Jay Pondy

I have a textbox which requires a numeric value and I am using the Validating Event to call the ErrorProvider.SetError method when the validation fails.

I also have a Cancel button with the CausesValidation property set to FALSE.

If I give the textbox focus and enter an empty string and then attempt to click the Cancel button the Validating event fires and the form will not close. Is
this the correct behavior?
 
Back
Top