Sign in Join
FPDoc Onlineexperiment

TCustomMemo.KeyUpAfterInterface procedure

Member of TCustomMemoprotectedIn unit StdCtrls

Handles Key Up events forwarded from the LCL interface.

Declaration

pascal
procedure KeyUpAfterInterface(var Key: Word; Shift: TShiftState)
 ; override

Arguments

Key

Virtual key code examined in the method.

Shift

Shift, Ctrl, or Alt modifier for the key code.

Description

KeyUpAfterInterface handles the VK_RETURN key code for the control when WantReturns is set to True. It sets the value in Key to 0 to indicate that the key code does not finish editing in the control.

It calls the inherited method prior to exit to handle the key code normally when WantReturns is set to False.

See also

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