Dynamic Control of Scrolling TextBox

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

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
 
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
 
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
 
Back
Top