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: Enlarge to full screen
MYedge

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

The sample has the Maximize button disabled and when I pulled the code out and created a test app using the same code, it offsets the text to the middle of the screen and doesn't stretch the text out to the right. Is there a way to use this terminal emulation in full screen mode so that the text moves to the top of the screen and spreads to the right?
MYedge

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

I figured this out in case anyone else is interested. There's a nice little method in the SshVtClient.45 sample called autoResize that resizes the screen based on the font. Call this method on Resize event of the containing form. It doesn't move the text to the top of the screen, but it does bring the text into view when the screen is maximized and minimized.
Reply | PowerTCP Emulation for .NET Topics | Forums   
This site is powered by PowerTCP WebServer Tool PowerTCP WebServer for ActiveX