Vcl.NumberBox.TCustomNumberBox.IsValidChar

De RAD Studio API Documentation
Aller à : navigation, rechercher

Delphi

function IsValidChar(AKey: Char): Boolean; virtual;

C++

virtual bool __fastcall IsValidChar(System::WideChar AKey);

Propriétés

Type Visibilité  Source Unité  Parent
function protected
Vcl.NumberBox.pas
Vcl.NumberBox.hpp
Vcl.NumberBox TCustomNumberBox


Description

La méthode IsValidChar valide les saisies clavier. La méthode génère un événement OnValidateChar. Elle renvoie True si un caractère peut être accepté par un contrôle d'édition, False sinon.

Voir aussi