Internet Direct (Indy) Version 9.0.1 Beta
TIdTelnet.OnTelnetCommand
Specifies the TELNET command event handler.

property OnTelnetCommand: TOnTelnetCommand;
Description
OnTelnetCommand is the TOnTelnetCommand event handler used to respond to TELNET commands and status changes received by the TIdTelnet client.

Applications should assign a procedure to the event handler in order to respond to specific TELNET commands, or to perform TELNET options; i.e. tncNoLocalEcho, tncLocalEcho, or tncEcho.