Scrolling text for messages.

  • Thread starter Thread starter Mufasa
  • Start date Start date
M

Mufasa

How are people doing a scrolling box for messages from a Win app where there
are many messages. This is typical of things like install programs where you
want to tell the person what is going on but keep the entire list of
messages available for the person.

I'm currently doing a list box - adding the message at the end and scrolling
to that message. Seems like there should be an easier way.

TIA - Jeff.

(On .Net 2.0 BTW)
 
Mufasa said:
How are people doing a scrolling box for messages from a Win app where
there are many messages. This is typical of things like install programs
where you want to tell the person what is going on but keep the entire
list of messages available for the person.

I'm currently doing a list box - adding the message at the end and
scrolling to that message. Seems like there should be an easier way.

How about a multiline TextBox? Just append the messages at the end of
the Text.
 
I'll give that a shot.

And don't keep setting the Text property. Use the SelectionStart property to
put the insertion point at the end of the text and then set the SelectedText
property. Much more efficient than re-writing Text.
 
Back
Top