on 06-01-2006 6:56 AM
Hi everybody,
I'm using 2 Itemlistboxes to select Elements from one and put them into another. The first has many items and i fixed the visible elements to 10 for both . I want both of them to be displayed with the same size, but anytime I insert elements in the second box it automatically resizes. Is there a way to set the height fix to 10 elements even if there are less inserted instead of doing a workaround by adding empty elements myself 'til I got 10?
Thx and regards,
Michael
Michael,
Cannot confirm for sure that this is impossible, but anyway you can always use Table instead of ItemListBox and have fixed height in number of rows.
VS
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Michael,
Now I've tested this control at work -- seems that "visibleItems" property is handled incorrectly, i.e. ignored. I guess, you have to submit a bug -- either list box must have a fixed height in rows or "visibleItems" should be renamed to "maxVisibleItems", because it is current behavior
Valery Silaev
EPAM Systems
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Valery
Sure you're right, should really be named "maxVisibleItems" For now I've been doing a workaround by adding empty elements 'til the list is at proper size, but handling new inputs and removals is a pain, guess I'll write a little helper class to take care of that if there's no other solution for this prob by now...
User | Count |
---|---|
85 | |
10 | |
10 | |
9 | |
7 | |
6 | |
5 | |
5 | |
4 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.