Sub OnKeyPress(Sender: Object; Args: IKeyPressEventArgs);
Begin
//set of operators;
End Sub OnKeyPress;
The Sender parameter returns the component that has generated the event.
The Args parameter allows to determine event parameters.
The OnKeyPress event occurs if a component is focused when a user presses a character key.
See also: