JVCL Help:TJvBaseValidator.RegisterBaseValidator
From Project JEDI Wiki
Jump to navigationJump to searchJVCL Help: TJvBaseValidator.RegisterBaseValidator Method
[+] TJvBaseValidator Methods
[+] TJvBaseValidator Properties
Search in JVCL Help
Search in all projectsSummary
Registers a validator.
Pascal
classprocedureRegisterBaseValidator(constDisplayName: string; AValidatorClass: TJvBaseValidatorClass);
Parameters
Parameters | Description |
const DisplayName: string | The name to use for this validator. This name is used by the TJvValidators's design time editor to display a list of available validators. |
AValidatorClass: TJvBaseValidatorClass | The class that should be registered. |
Description
Call RegisterBaseValidator to register a new validator. Since RegisterBaseValidator is a class function, you can call it without creating an instance of TJvBaseValidator, like this: TJvBaseValidator.RegisterBaseValidator('Master Card Validator',TMasterCardValidator);
About
Contribute to this help topic
This documentation wiki is based on the collaborative effort of Project JEDI users. Your edits are welcome in order to improve documentation quality: edit this page