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

TcxCustomCalculator.GetButtonKindKey(Word,TShiftState) Method

Determines the calculator button type by the pressed key.

#Declaration

Delphi
function GetButtonKindKey(Key: Word; Shift: TShiftState): TcxCalcButtonKind;

#Parameters

Name Type
Key Word
Shift TShiftState

#Returns

Type
TcxCalcButtonKind

#Remarks

The GetButtonKindKey method determines the button type based on the pressed key. This method is used internally when a user presses a keyboard key. The Key parameter is a keyboard key. If a non-alphanumeric key was pressed, the Key parameter defines a virtual key code. The Shift parameter indicates whether the Shift, Alt, or Ctrl key is combined with a keystroke.

See Also