471,348 Members | 1,714 Online
Bytes | Software Development & Data Engineering Community
Post +

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 471,348 software developers and data experts.

Dynamic Control of Scrolling TextBox

I have a very large ArrayList of objects. I'd like the user to be able to
scroll through a text box (or other control) to view the description of each
object. The object class has an overriden ToString() method, which produces
the desired text for each object.
Because the list is so large (tens of thousands of objects), I don't want to
fill the text box with a description of every object. Rather, I'd like to
dynamically change the contents of the TextBox as the user scrolls
vertically. But I don't see any events from the scroll bar that I can use to
implement this.
Could someone suggest a good way to to this?
Perhaps a different control type would be appropriate?
I'd prefer something more like a spread-sheet, as the text is columnar in
nature.
Thanks in advance for your help

Jul 21 '05 #1
2 1091
DB,

In my opinion are for what you ask mostly used four buttons, when they are
horizontal placed it looks like << < > >>. When you place them
vertically than you have to use images. (I cannot type that in therefore in
this way)

I hope this helps,

Cor
Jul 21 '05 #2
Hello Cor,
Thanks for your response. You are assuming that I do not use the built-in
scroll bars of the text box. I suppose that makes sense, and it would make
the implementation straight-forward.
Best Regards,
Dennis

"Cor Ligthert" wrote:
DB,

In my opinion are for what you ask mostly used four buttons, when they are
horizontal placed it looks like << < > >>. When you place them
vertically than you have to use images. (I cannot type that in therefore in
this way)

I hope this helps,

Cor

Jul 21 '05 #3

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

3 posts views Thread by Guy Harwood | last post: by
9 posts views Thread by wASP | last post: by
2 posts views Thread by db_from_mn | last post: by
5 posts views Thread by Dinsdale | last post: by

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.