Vcl.Mask.TCustomMaskEdit.KeyPress

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

procedure KeyPress(var Key: Char); override;

C++

DYNAMIC void __fastcall KeyPress(System::WideChar &Key);

Properties

Type Visibility Source Unit Parent
procedure
function
protected
Vcl.Mask.pas
Vcl.Mask.hpp
Vcl.Mask TCustomMaskEdit

Description

Supplements the inherited method to process the Esc and Enter keys.

After calling the inherited method, KeyPress calls the Reset method in response to the Esc key, or calls the ValidateEdit method in response to the Enter key. Derived classes can override this method to further supplement the processing of specific keystrokes.

See Also