I am trying to Validate a group of textboxes on a form. I would like it to work where the validation occurs as user is leaving the textbox and the focus is back to the textbox to correct. This works well in the validating event EXCEPT I have not provided a way to break out of the loop caused by the error messages. For example, if the user makes an invalid entry in a textbox and attempts to tab to the next textbox The error appears and focused back to the textbox. Now suppose that the user would like to cancel the operation and do something else or start over. In this case, the user has no way of doing something else and must correct the textbox. Maybe I have the wrong event or properties set properly? Maybe I need to programtically provide a way to cancel?
Can someone provide something that works and also state how the textbox properties should be set.