JVCL Help:TJvCustomCharMap.OnValidateChar

From Project JEDI Wiki
Jump to navigationJump to search
JEDI Visual Component Library Help

Search in JVCL Help

Search in all projects


Event that is called when a character needs validating.


 TJvCharMapValidateEvent = procedure (Sender: TObject; AChar: WideChar; var Valid: Boolean) ofobject;
propertyOnValidateChar: TJvCharMapValidateEvent;


Parameters Description
Valid Set to true to mark the character as valid or to false to mark it as invalid.
AChar The character to validate.
Sender The component that triggered the event.


Write a handler for the OnValidateChar event to take specific action when a character needs validating. For example, to accept any character, write a handler that always returns true in the Valid parameter.


Contribute to this help topic[edit]

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