Vcl.NumberBox.TCustomNumberBox.IsValidChar
Delphi
function IsValidChar(AKey: Char): Boolean; virtual;
C++
virtual bool __fastcall IsValidChar(System::WideChar AKey);
プロパティ
種類 | 可視性 | ソース | ユニット | 親 |
---|---|---|---|---|
function | protected | Vcl.NumberBox.pas Vcl.NumberBox.hpp |
Vcl.NumberBox | TCustomNumberBox |
説明
IsValidChar メソッドは、キーボード入力を検証します。このメソッドは、OnValidateChar イベントを生成します。 これは、文字がエディタ コントロールによって許容されると True を、そうでなければ False を返します。