Scrolling text for messages.

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)
 
A

Alberto Poblacion

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.
 
J

Jeff Johnson

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.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top