I am using System.Windows.Forms.TextBox to publish some real-time data
that's coming off the external devices. My data is fed into the TextBox with
proper precautions not to exceed the MaxSize limit. I use the AppendText()
method of the TextBox class and tried playing with ScrollToCaret(), but that
didn't seem to do anything different than normal behavior.
I am getting the TextBox that supports auto-scrolling on some machines (i.e.
the bottom part of the text is always updated and the window is scrolled
automatically) and does not auto-scroll on the others, even though both are
running exactly the same version of .NET Framework (installed off a CD I
keep around).
What is a guaranteed way to get auto-scroll to work with TextBox while
appending text? Also it seems like all my console applications never had
this problem, is there a way to implement DOS-like console inside C#.NET
application with old C/C++ code running inside the console and some C# GUI
on top of it?
Thanks.
--
Alex Moskalyuk
_____________________________
http://www.techinterviews.com