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
PrintText method
Prints text in the terminal window.
Syntax
- Basic
object.PrintText (Text)
The PrintText(object,Text) syntax has these parts:
The PrintText(object,Text) syntax has these parts:
object | An expression evaluating to an object of type wodTelnetDLX |
Text | A String value. Text that should be printed in client area. |
Remarks
This method is only available in OCX (GUI) version of the component.Although wodTelnetDLX will automatically handle received data and show it in the client area, you can use this method to manually add text that will be printed to it. Our basic sample does this, using code like this:
wodTelnetDLX1.PrintText "Please enter hostname: "
'.....
Private Sub wodTelnetDLX1_KeyPress(KeyAscii As Integer)
wodTelnetDLX1.PrintText Chr$(KeyAscii)
End Sub
'....
wodTelnetDLX1.PrintText vbCrLf & "Trying to connect to "...
When using PrintText method, you can even send ANSI escape sequences to be handled by wodTelnetDLX (if TerminalEmulation is set to VT100), so you can, for example, position cursor at will.