ImLearningDotNet
Member
How can I not have the validating event trigger if my genericCheckBox is being unchecked. My genericTextBox does not allow letters. I have a validating event that will pop up a message box if there is a letter in the genericTextBox.
For instance, suppose genericCheckBox is checked and I put a letter in genericTextBox. Then, I uncheck genericCheckBox but my validating event does not let me uncheck genericCheckBox unless the value is valid.
How can I allow my program to be able to allow a user to uncheck genericCheckBox without validating the genericTextBox?
Unchecking genericCheckBox disables genericTextBox if the value is valid.
Any help will be greatly appreciated!
For instance, suppose genericCheckBox is checked and I put a letter in genericTextBox. Then, I uncheck genericCheckBox but my validating event does not let me uncheck genericCheckBox unless the value is valid.
How can I allow my program to be able to allow a user to uncheck genericCheckBox without validating the genericTextBox?
Unchecking genericCheckBox disables genericTextBox if the value is valid.
Any help will be greatly appreciated!