I have a Windows forms application that is reading messages off off a queue,
and I want to stream them into a window to view. Currently I am using a
textbox classes/methods of textbox.Append(...) and textbox.ScrollToCaret()...

It seems that there is limit to the number of characters you can write to a
textbox...

I would appreciate any recommendations on the best contol/technique to used
to stream input into a form and to automatically advance the scrollbar as
input arrives. I want to capture several thousand lines before I cleanup...

thanks

RE: best contol for capturing steaming and displaying streaming input? by AMercer

AMercer
Sat Apr 02 10:27:02 CST 2005

1. use a richtextbox vice a textbox for bulk text output.
2. to scroll to the bottom of text, set the rtb's SelectionStart =
Text.Length

"Jamie Holloway" wrote:

> I have a Windows forms application that is reading messages off off a queue,
> and I want to stream them into a window to view. Currently I am using a
> textbox classes/methods of textbox.Append(...) and textbox.ScrollToCaret()...
>
> It seems that there is limit to the number of characters you can write to a
> textbox...
>
> I would appreciate any recommendations on the best contol/technique to used
> to stream input into a form and to automatically advance the scrollbar as
> input arrives. I want to capture several thousand lines before I cleanup...
>
> thanks

RE: best contol for capturing steaming and displaying streaming in by JamieHolloway

JamieHolloway
Sat Apr 02 11:11:02 CST 2005

Perfect and thanks AMercer. I appreciate the help.

"AMercer" wrote:

> 1. use a richtextbox vice a textbox for bulk text output.
> 2. to scroll to the bottom of text, set the rtb's SelectionStart =
> Text.Length
>
> "Jamie Holloway" wrote:
>
> > I have a Windows forms application that is reading messages off off a queue,
> > and I want to stream them into a window to view. Currently I am using a
> > textbox classes/methods of textbox.Append(...) and textbox.ScrollToCaret()...
> >
> > It seems that there is limit to the number of characters you can write to a
> > textbox...
> >
> > I would appreciate any recommendations on the best contol/technique to used
> > to stream input into a form and to automatically advance the scrollbar as
> > input arrives. I want to capture several thousand lines before I cleanup...
> >
> > thanks