Vcl.NumberBox.TCustomNumberBox.IsValidChar
Delphi
function IsValidChar(AKey: Char): Boolean; virtual;
C++
virtual bool __fastcall IsValidChar(System::WideChar AKey);
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
function | protected | Vcl.NumberBox.pas Vcl.NumberBox.hpp |
Vcl.NumberBox | TCustomNumberBox |
Description
IsValidChar method validates keyboard input. The method generates an OnValidateChar event. It returns True if a char may be accepted by edit control, False otherwise.