Sign in Join
FPDoc Onlineexperiment

TCustomEdit.KeyUpAfterInterface procedure

Member of TCustomEditprotectedIn 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. It calls EditingDone to signal the OnEditingDone event handler (when assigned). When AutoSelect is set to True, the SelectAll method is called to select all of the Text in the control. AutoSelected is updated to reflect the action.

See also

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