C control on validating

Rated 4.92/5 based on 847 customer reviews

So could some demonstrate how when focus is lost on the field, if the data is not valid, a default value will be entered instead e.g.

5 if you are hand-rolling validation like you do here, all you need to do is to set the default value after you Message Box.

The problem I am experiencing is when a control fails its validating event and the user clicks another tab things get messy. Drumm" all the controls on that tab have finished validating?

Drumm" all the controls on that tab have finished validating?

- This posting is provided "as is" with no warranties and confers no rights.The disadvantage is that you don't tell the needed namespaces. So I propose that you insert the list to the begin of the tutorial. In this example I am implementing an generic validation rule that takes a regular expression as validation rule. If the expression matches the data is treated as valid.

Leave a Reply