Vcl.Samples.Spin.TSpinEdit.IsValidChar
Delphi
function IsValidChar(Key: Char): Boolean; virtual;
C++
virtual bool __fastcall IsValidChar(System::WideChar Key);
Propriétés
Type | Visibilité | Source | Unité | Parent |
---|---|---|---|---|
function | protected | Vcl.Samples.Spin.pas Vcl.Samples.Spin.hpp |
Vcl.Samples.Spin | TSpinEdit |
Description
Vérifie si la touche appuyée est valide.
IsValidChar vérifie si la touche appuyée est valide. IsValidChar renvoie True si Key
est "+", "-" ou l'une des touches numériques.