wodTelnetDLX ActiveX Control - KeyPress Event
    
 

Description

Fires when regular key is pressed.


Syntax

Private Sub object_KeyPress(KeyAscii)



The KeyPress Event syntax has these parts:

Part Description
object A wodTelnetDLX object.
KeyAscii An Integer value. ASCII code of the key that was pressed.

Remarks

This event is only available in OCX (GUI) version of the component.

When wodTelnetDLX has the focus, each time user presses some key this event will be fired. Here you can inspect pressed key and handle it with your code, or you can just pass it to wodTelnetDLX and let it deal with the pressed key.

If you don't want wodTelnetDLX to receive this keypress, you should set KeyAscii parameter to 0 - in which case wodTelnetDLX will never 'see' this key as pressed.

Actual wodTelnetDLX behavior is to send pressed key to the remote server, and let it deal with it.