Telnet Object : WindowSize Property |
Visual Basic |
---|
Public Property WindowSize As String |
Many hosts send a terminal window size request shortly after a Telnet connection is established. By setting this property at design time or before connecting, the control responds with this value when the AutoOption property is True. This property specifies the number of rows and columns as follows:
Telnet1.WindowSize = "24, 80" ' 24 rows by 80 columns is the default value
If the server supports this option, the window size can be set at any time during the session. If the server does not support this option, this property will return "". Likewise, if you want to refuse this option, set this property to "".