Login  
Search All Forums
Dart Home | PowerTCP Emulation for .NET | Custom Development Reply | PowerTCP Emulation for .NET Topics | Forums   
AuthorForum: PowerTCP Emulation for .NET
Topic: Text offset after changing the font settings
MYedge

From: USA
Posts: 9
Member Since: 11/10/15
posted November 10, 2015 4:38 PM

I'm looking at the EmulationSamples.CS45 solution & evaluating the SshVtClient.45 project. When I change the font on the terminal from the settings form, the text is not being offset correctly on the terminal screen & I need to scroll up to see the text. This seems to happen with any text other than the default. How can I fix that?
MYedge

From: USA
Posts: 9
Member Since: 11/10/15
posted November 12, 2015 11:06 AM

I figured this out in case anyone else is interested. There's a nice little method in the SshVtClient.45 sample that resizes the screen based on the font. I called this method on TextChanged and it fixed the issue.
Reply | PowerTCP Emulation for .NET Topics | Forums   
This site is powered by PowerTCP WebServer Tool PowerTCP WebServer for ActiveX