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

TcxCustomEdit.DoEditKeyPress(Char) Method

Performs some processing when a user has pressed and released a key within an editor.

#Declaration

Delphi
procedure DoEditKeyPress(var Key: Char); virtual;

#Parameters

Name Type
Key Char

#Remarks

The Key parameter identifies the ASCII code of the pressed key. The DoEditKeyDown method is called only for the keys corresponding to the ASCII Char value. The Shift or F1 keys, for instance, do not invoke the DoEditKeyDown method.

Before calling DoEditKeyPress, the OnKeyPress event is generated.

See Also