How do I get it to populate each column??
Printable View
How do I get it to populate each column??
In fact i dont think there is such property like a listview column in Listbox. When you set the MultiColumn porperty of listbox to True then items are added till it reaches the end of the control and then goes to another column. You can adjust the column width, and the number of items in each column are decided by the controls height and item height which is controled by font size of the control.
Why do you want to use Listbox? Can you go with either Listview or Datagrid?
do you just ...add item...add item....add item.. and it will automatically put each item in the next column?
or is there a seperater used?
thanks!
Yes, add, add,... then going to another column and so forth...
Iouri
just need a simple list...but wanted seperated data...
well..it doesnt seem to work...just adds one per row.
the listbox is very wide too....
stumped...
Each item is a row and the columns are seperated with tabs. Then if its set to muli-column then it will display right. Its basically a wrapper for the SetTab API.
ahhhh
However I didn't actually test that out but I remember seeing an example of it somewhere.
worked like a charm! thanks Edneeis!
my bad...no it doesnt.
ok..after playing.
there is no seperator....
just add the items...when the list reaches the bottom line..it then moves up to the next column.
oh well...no good. thanks to all