Page 1 of 1

About horizontal scroll bar in ListBox

Posted: Wed Mar 30, 2005 07:33
by jasom_liu
Hi,Crazy Eddie.
I meet a little trouble. When I want to view a long string in the ListBox(I am creating a little chat room),the horizontal scrollbar will auto view so that it can view the string in one line. Can I auto display it in two lines or more and do not display the horizontal scroll bar ? How to set the properties ?
Thanks. :roll:

Re: About horizontal scroll bar in ListBox

Posted: Wed Mar 30, 2005 08:53
by CrazyEddie
Hi,

You basically need a custom ListboxItem which splits the text (either using wordwrap formatting, or by inserting newline chars) at appropriate positions. I do not provide this at the moment unfortunately, but it is possible to implement.

CE.

Posted: Wed May 03, 2006 00:11
by Scorch
Was doing a couple searches through the forums and found this entry, I also would find it usefull to have a wordwrapping listboxitem, especially if it re-wrapped when the listbox changed size.

On my list of todo's but not right now.

Has anyone else allready done work on this that could be easily enough reused?

Scorch.