OWLNext 7.0
Borland's Object Windows Library for the modern age
|
TValidator forms the base class for several ObjectWindows classes that encapsulate validation objects. More...
Classes | |
class | owl::TValidator |
A streamable class, TValidator defines an abstract data validation object. More... | |
class | owl::TXValidator |
A nested class, TXValidator describes an exception that results from an invalid validator object. More... | |
class | owl::TPXPictureValidator |
TPXPictureValidator objects compare user input with a picture of a data format to determine the validity of entered data. More... | |
class | owl::TFilterValidator |
A streamable class, TFilterValidator checks an input field as the user types into it. More... | |
class | owl::TRangeValidator |
Determines whether the data typed by a user falls within a designated range of integers. More... | |
class | owl::TLookupValidator |
A streamable class, TLookupValidator compares the string typed by a user with a list of acceptable values. More... | |
class | owl::TStringLookupValidator |
Derived from TLookupValidator, TStringLookupValidator is a streamable class. More... | |
Enumerations | |
enum | owl::TValidatorOptions { owl::voFill = 0x0001 , owl::voTransfer = 0x0002 , owl::voOnAppend = 0x0004 , owl::voReserved = 0x00F8 } |
Bit-register flags used with TValidator::SetOption and UnsetOption. More... | |
enum | owl::TPicResult { owl::prComplete , owl::prIncomplete , owl::prEmpty , owl::prError , owl::prSyntax , owl::prAmbiguous , owl::prIncompNoFill } |
Validation result type. More... | |
TValidator forms the base class for several ObjectWindows classes that encapsulate validation objects.
The following derived classes make it easy for you to add data validation to your applications.
TFilterValidator and
its derived class, TRangeValidator, check an input field as the user types data into the field in order to determine the validity of the entered data.TPXPictureValidator compares
user input with a picture of a data format.TLookupValidator compares
a string typed by a user with a list of acceptable values. Validation result type.
TPicResult is the result type returned by the Picture member function of TPXPictureValidator. The result type indicates whether the data entered into the edit control matches a specified format. For example, prIncomplete indicates that the data entered is missing some information that was specified in the format picture of the data.
Enumerator | |
---|---|
prComplete | |
prIncomplete | |
prEmpty | |
prError | |
prSyntax | |
prAmbiguous | |
prIncompNoFill |
Definition at line 128 of file validate.h.
Bit-register flags used with TValidator::SetOption and UnsetOption.
Definition at line 33 of file validate.h.