T
Tom
I have written a validatedTextBox class which inherits
from textBox. I've added code which validates the input
text using the onValidation event.
The problem I have is that when I have input invalid data
and then click on the x in the upper right corner of the
form to close the form or when I click on a Cancel button
on the form I would like to not do the validation in that
case. I have not found any event that happens when
closing the window or clicking the Cancel button that
happens before the onValidation event.
Help please. Thanks
from textBox. I've added code which validates the input
text using the onValidation event.
The problem I have is that when I have input invalid data
and then click on the x in the upper right corner of the
form to close the form or when I click on a Cancel button
on the form I would like to not do the validation in that
case. I have not found any event that happens when
closing the window or clicking the Cancel button that
happens before the onValidation event.
Help please. Thanks