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

Event that is called when a character needs validating.


Pascal

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


Parameters

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

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

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