TXTextControl.ServerVisualization.UserInput.SendKeyPress Method

Informs the view generator about a key press event.

Syntax

[C#]
public bool SendKeyPress(int keyChar, ServerVisualization.UserInput.ModifierKeys modifierKeys);
[Visual Basic]
Public Function SendKeyPress(ByVal keyChar As Integer, ByVal modifierKeys As ServerVisualization.UserInput.ModifierKeys) As Boolean
Parameter Description
keyChar

Specifies the translated character code for the pressed key.

modifierKeys

Specifies modifier keys. It can be a combination of the ServerVisualization.UserInput.ModifierKeys values.

Return Value

If the event has been handled, the method returns true. Otherwise, it returns false.

See Also