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

TCustomComboBox.KeyDown

Filters TAB and RETURN key when used to traverse the list.

Declaration

Source position: stdctrls.pp line 350

protected procedure TCustomComboBox.KeyDown(

  var Key: Word;

  Shift: TShiftState

); override;

Arguments

Key

  

The pressed key.

Shift

  

The state of the modifier keys and mouse buttons.

Description

The inherited method provides software emulation of the event handler OnKeyDown which acts if a key has been pressed and is still down

See also

TWinControl.KeyDown

  

Invokes the OnKeyDown handler.

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