Sign in Join
FPDoc Onlineexperiment

TCustomComboBox.KeyDown procedure

Member of TCustomComboBoxprotectedIn unit StdCtrls

Filters keys used to traverse the list.

Declaration

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

Arguments

Key

The pressed key.

Shift

The state of the modifier keys and mouse buttons.

Description

KeyDown is an overridden method in TCustomComboBox. KeyDown ensures that keys like Escape, Tab, and Return are handled in the manner needed for the Style in the control. If the values in Key and Shift are not specifically handled in the method, the inherited KeyDown method is called.

See also

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