TdxBarWindowItem.KeyPress(Char) Method
In This Article
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