TXTextControl.TXTextControl.KeyPress Event

Occurs when the user presses and releases an ANSI key while the Text Control has the input focus.

Syntax

KeyPress(KeyAscii)
Parameter Description
KeyAscii

Is a standard numeric ANSI keycode. Changing it sends a different character to the Text Control.

Data Types

KeyAscii:    Integer

See Also