Sign in Join
FPDoc Onlineexperiment

TCustomMaskEdit.KeyPress procedure

Member of TCustomMaskEditprotectedIn unit MaskEdit

Performs actions needed to handle the specified character in the control.

Declaration

pascal
procedure KeyPress(var Key: char); override

Arguments

Key

Character handled in the method.

Description

KeyPress is an overridden procedure used to apply the character specified in Key to the control. KeyPress calls the inherited method, and converts the character in Key to a UTF-8-encoded character which is passed to the HandleKeyPress method. All character values handled in HandleKeyPress are set to an empty character, and causes the value in Key to be digested in the method.

See also

An experiment, built from development snapshots. Not the official Free Pascal or Lazarus documentation.