|
-
October 23rd, 2007, 06:25 AM
#1
Multi column list box
Hi All,
I have a couple of listbox's that currently display data in the format
13.6 - xxxxxxxxxxxxxx
13.65 - xxxxxxxxxxxxxxxx
The functionality of the boxes work fine, but I've been asked to display the data so that the columns line up:
Code:
13.6 - xxxxxxxxxxx
13.65 - xxxxxxxxxx
I currently add items manually and use string.Concat to form each data line.
Further compounded is that the actual data xxxxxxxx often spans more than 1 line as this value can be rather long, so I need to be able to wrap the value.
I could bind the data to a datagrid that would give me what I want, but then I have the trouble of the interaction between the 2 list boxes.
My 2 listboxes are set up as the classic move details from 1 listbox to the other , then when the user is certain that they have the right data in the right boxes go and do my processing.
Hope this makes sense thanks.
If you find my answers helpful, dont forget to rate me 
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|