Skip to main content

TdxBarCustomCombo.CheckKeyForDropDownWindow(Word,TShiftState) Method

Specifies whether a dropdown window processes key press events.

Declaration

function CheckKeyForDropDownWindow(Key: Word; Shift: TShiftState): Boolean; override;

Parameters

Name Type
Key Word
Shift TShiftState

Returns

Type
Boolean

Remarks

The function returns True if the pressed key is to be processed by the dropdown window; otherwise it returns False. CheckKeyForDropDownWindow returns True if the Key is VK_UP, VK_DOWN, VK_PRIOR or VK_NEXT. This function overrides the TCustomdxBarCombo CheckKeyForDropDownWindow function. The Key parameter is a virtual key code. The Shift parameter indicates Ctrl, Alt and Shift key states.

See Also