OWLNext    7.0
Borland's Object Windows Library for the modern age
Loading...
Searching...
No Matches
Member Function IsValid

The virtual member function IsValid is called by Valid, which passes IsValid the text string to be validated.

IsValid returns true if the string represents valid data. IsValid does the actual data validation, so if you create your own validator objects, you will probably override IsValid.

Note
Do not call IsValid directly. Use Valid to call IsValid, because if IsValid returns false, Valid calls Error to alert the user. This behavior separates the validation role from the error-reporting role.

See Also