Occurs when the user presses a key while the Text Control has the input focus. To interpret ANSI characters, use the KeyPress event.
KeyDown(KeyCode, Shift)
| Parameter | Description | |||||||||||||
| KeyCode |
Is the virtual-key code of the pressed key. When this value is changed, Text Control handles the changed key. |
|||||||||||||
| Shift |
Informs about the state of the SHIFT, CTRL and ALT keys at the time of the event. It is the sum of one or more of the following values:
|
| KeyCode: | Integer |
| Shift: | Integer |
<< TXTextControl.KeepWithNext Property | >> TXTextControl.KeyPress Event