[Overview][Constants][Types][Classes][Procedures and functions][Variables][Index] Reference for unit 'Forms' (#lcl)

TApplication.DoReturnKey

Interprets Enter as the default action, if applicable.

Declaration

Source position: forms.pp line 1556

public procedure TApplication.DoReturnKey(

  AControl: TWinControl;

  var Key: Word;

  Shift: TShiftState

);

Arguments

AControl

  

The control receiving the key.

Key

  

The virtual key; becomes VK_UNKNOWN when handled.

Shift

  

The active modifier keys.

The latest version of this document can be found at lazarus-ccr.sourceforge.net.