Skip to main content

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

TdxBarCustomCombo.CheckKeyForDropDownWindow(Word,TShiftState) Method

Specifies whether a dropdown window processes key press events.

#Declaration

Delphi
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