Skip to main content
A newer version of this page is available. .

TcxCustomEdit.DoEditKeyPress(Char) Method

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

Declaration

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