Skip to main content

TdxBarLookupCombo.KeyDown(Word,TShiftState) Method

Called after a key has been pressed within a combo box.

Declaration

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

Parameters

Name Type
Key Word
Shift TShiftState

Remarks

This method processes key press events within the combo box. The Key parameter is a virtual key code. The AShift parameter determines the state of the Alt, Ctrl, and Shift keys and the state of the mouse buttons. When the Esc key is pressed, the KeyDown method clears text in the combo box editor. Override this procedure to perform special actions on key press events without writing the OnKeyDown event handler.

See Also