JVCL Help:TJvValidateEdit.OnCustomValidate

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

Search in JVCL Help

 
Search in all projects
 

Summary

Occurs when the control needs to validate input and DisplayFormat is dfCustom.


Pascal

 propertyOnCustomValidate: TJvCustomTextValidateEvent;


Parameters

Parameters Description
Sender The TJvCustomValidateEdit that called the event.
Key The key that was pressed last.
AText The current text of the control.
Pos The current caret position in the text.
IsValid Set to true to accept the text, false otherwise.


Description

Write a handler for this event when DisplayFormat is set to dfCustom. To allow a character to be entered into the control, set IsValid to true. To prevent a character from being entered, set IsValid to false.


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