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
 

Summary[edit]

Event that is called when a character needs validating.


Pascal[edit]

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


Parameters[edit]

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.


Description[edit]

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.


About[edit]

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