OWLNext 7.0
Borland's Object Windows Library for the modern age
|
ObjectWindows provides several ways you can associate validator objects with the edit control objects to validate the information a user types into an edit control.
Using validator objects makes it easy to add data validation to existing ObjectWindows applications or to change the way a field validates its data.
These three tasks are related to data validation:
At any time, you can validate the contents of any edit control or data screen by calling that object's CanClose method, which in turn calls the appropriate validator object. ObjectWindows validator classes also interact at the keystroke and the gain/lose focus level.