O
Otis Mukinfus
I have a form that uses the ErrorProvider control on several TextBox
objects.
All works as expected except when the close button in the upper right
hand corner of the form is clicked. When this button is clicked it
fires the IsValidating event of the control with focus.
I believe that if the user is closing the form there should be no
validation events fired.
How does one prevent this from happening?
Additional information... the IsValidating events fire before the IsC
losing event of the form, so I can't trap anything there.
Otis Mukinfus
http://www.otismukinfus.com
objects.
All works as expected except when the close button in the upper right
hand corner of the form is clicked. When this button is clicked it
fires the IsValidating event of the control with focus.
I believe that if the user is closing the form there should be no
validation events fired.
How does one prevent this from happening?
Additional information... the IsValidating events fire before the IsC
losing event of the form, so I can't trap anything there.
Otis Mukinfus
http://www.otismukinfus.com