OWLNext 6.32
Classes | Enumerations
Validator classes

Classes

class  owl::TValidator
class  owl::TXValidator
class  owl::TPXPictureValidator
class  owl::TFilterValidator
class  owl::TRangeValidator
class  owl::TLookupValidator
class  owl::TStringLookupValidator

Enumerations

enum  owl::TValidatorOptions { owl::voFill = 0x0001, owl::voTransfer = 0x0002, owl::voOnAppend = 0x0004, owl::voReserved = 0x00F8 }
enum  owl::TPicResult { prComplete, prIncomplete, prEmpty, prError, prSyntax, prAmbiguous, prIncompNoFill }

Detailed Description

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.


Enumeration Type Documentation

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.

Validator option flags.

Constants that represent bits in the bitmapped Options word in validator objects.

Enumerator:
voFill 

option to fill in chars on IsValidInput checks Used by picture validators to indicate whether to fill in literal characters as the user types.

voTransfer 

option to perform conversion & transfer The validator handles data transfer for the input line. Currently only used by range validators.

voOnAppend 

option to only validate input on appending Used by picture validators to determine how to interact with edit controls.

voReserved 

reserved for future use