Re: wodTelnetDLX Terminal Window Visible Rows (General questions)
I was attempting to fill the application window (my VB form) with the terminal window control and maximize the visible sapce with active terminal rows. So on the VB form's RESIZE event, I update the wodTelnetDLX's dimensions to fill the screen. I guess I overlooked the fact that the terminal screen size (rows & cols) are sent to the server upon connection. However, some simple telnet enabled devices and RS232 devices do not care about screen size and do not implement emulation escape sequences that deal with screen control. I guess the best example I have found is in a competitor's product; they offer a RowHeight property that lets me deal with changing the number of Rows based on the size of the terminal window. This RowHeight property deals with the actual font height, etc under the hood.
For example, here is a VB code excerpt of what I am trying to do...
[code]
Private Sub Form_Resize()
'//Resize VT Window
VT.Move 0, 0, ScaleWidth, ScaleHeight
'//Dynamically set the row count based on VT Window Height
VT.Rows = VT.Height (VT.RowHeight * Screen.TwipsPerPixelY)
End Sub
[/code]
Lastly, here is their description for this RowHeight property:
RowHeight: Returns the height of a single character (or line) according to the measurement units used by the container.
Thanks,
Robert
Complete thread:
- wodTelnetDLX Terminal Window Visible Rows - Robert, 2004-08-21, 23:34
- Re: wodTelnetDLX Terminal Window Visible Rows - wodSupport, 2004-08-23, 01:03
- Re: wodTelnetDLX Terminal Window Visible Rows - Robert, 2004-08-23, 04:02
- Re: wodTelnetDLX Terminal Window Visible Rows - Robert, 2004-08-23, 04:08
- Re: wodTelnetDLX Terminal Window Visible Rows - Robert, 2004-08-23, 04:09
- Re: wodTelnetDLX Terminal Window Visible Rows - Robert, 2004-08-23, 04:12
- Re: wodTelnetDLX Terminal Window Visible Rows - wodSupport, 2004-08-24, 00:21
- Re: wodTelnetDLX Terminal Window Visible Rows - Robert, 2004-08-24, 16:43
- Re: wodTelnetDLX Terminal Window Visible Rows - wodSupport, 2004-08-24, 17:01
- Re: wodTelnetDLX Terminal Window Visible Rows - Robert, 2004-08-24, 21:09
- Re: wodTelnetDLX Terminal Window Visible Rows - wodSupport, 2004-08-24, 23:52
- Re: wodTelnetDLX Terminal Window Visible Rows - Robert, 2004-08-24, 21:09
- Re: wodTelnetDLX Terminal Window Visible Rows - wodSupport, 2004-08-24, 17:01
- Re: wodTelnetDLX Terminal Window Visible Rows - Robert, 2004-08-24, 16:43
- Re: wodTelnetDLX Terminal Window Visible Rows - wodSupport, 2004-08-24, 00:21
- Re: wodTelnetDLX Terminal Window Visible Rows - Robert, 2004-08-23, 04:12
- Re: wodTelnetDLX Terminal Window Visible Rows - Robert, 2004-08-23, 04:09
- Re: wodTelnetDLX Terminal Window Visible Rows - Robert, 2004-08-23, 04:08
- Re: wodTelnetDLX Terminal Window Visible Rows - Robert, 2004-08-23, 04:02
- Re: wodTelnetDLX Terminal Window Visible Rows - wodSupport, 2004-08-23, 01:03