Vcl.Samples.Spin.TSpinEdit.IsValidChar

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

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

C++

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

Properties

Type Visibility Source Unit Parent
function protected
Vcl.Samples.Spin.pas
Vcl.Samples.Spin.hpp
Vcl.Samples.Spin TSpinEdit

Description

Verifies whether the pressed key is valid.

IsValidChar verifies whether the pressed key is valid. IsValidChar returns True if the Key is "+", "-", or one of the number keys.

See Also