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

TdxBarWindowItem.KeyPress(Char) Method

Generates an OnKeyPress event.

#Declaration

Delphi
procedure KeyPress(var Key: Char); dynamic;

#Parameters

Name Type
Key Char

#Remarks

The KeyPress method is called in response to a key-press message (WM_CHAR) from Windows. The KeyPress method does nothing except call the OnKeyPress event handler. Descendants override KeyPress to provide other responses in addition to this event-handler call. Both the KeyPress and OnKeyPress event handlers can suppress further key processing by setting the Key parameter to 0.

See Also