Occurs when the user presses a key while the Text Control has the input focus. To interpret ANSI characters, use the KeyPress event.
Is the virtual-key code of the pressed key. When this value is changed, Text Control handles the changed key.
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: