Back to product page
- Introduction
- License agreement
- Getting Started
- Enumerations
- Objects
- wodTelnetDLX
- Methods
- Properties
- Authentication
- AutoSize
- BackColor
- BackLog
- BindIP
- BindPort
- Blocking
- BorderVisible
- Certificate
- CharEncoding
- Column
- Columns
- ColWidth
- Command
- ContextMenu
- CursorHeight
- DataOut
- DataReady
- Enabled
- ErrorText
- ExitSignal
- ExitStatus
- Font
- ForeColor
- HandleSysKeys
- Hostname
- hWnd
- KeepAlives
- Language
- LastError
- LocalCertBag
- Login
- MousePointer
- MouseWheel
- MyHostname
- MyIP
- Notification
- Password
- Picture
- Port
- Prompt
- Protocol
- ProxyHostname
- ProxyLogin
- ProxyPassword
- ProxyPort
- ProxyType
- RecordMode
- RemoteIdentification
- Row
- RowHeight
- Rows
- ScrollBars
- ScrollX
- ScrollY
- SecureMethod
- SelectedText
- ShowCursor
- Socket
- SpecialKeyFocus
- State
- StateText
- StripANSI
- StripColors
- TabStop
- TelnetOption
- TerminalEmulation
- TerminalType
- Text
- Timeout
- TranslateSpecial
- UseIPv6
- Version
- Events
- IwodTelnetNotify
- wodTelnetDLX
- How to get support?
- Technical information
- Fast notifications interface
- Error list
KeyPress event
Fires when regular key is pressed.
Syntax
- Basic
Private Sub object_KeyPress (ByRef KeyAscii)
The KeyPress(KeyAscii) syntax has these parts:
The KeyPress(KeyAscii) syntax has these parts:
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.