By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
449,215 Members | 1,935 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 449,215 IT Pros & Developers. It's quick & easy.

>> multi column listbox

P: n/a
Hi I so new to vb.net that the paints still wet...

I would like to load a listbox (as I would do using vba). The properties
show multicolumn = true
column width = 300

How do I set the individual column widths?

listbox1.add(newItem) appends a new item to my list.
How do I add the additional column for each list item?

Any ideas or suggestions appreciated :-)

--
Many thanks
Jonathan Parminter
Jan 4 '08 #1
Share this Question
Share on Google+
2 Replies


P: n/a
I think they must be the same size. Maybe try using a DataGrid...

Schneider

"Jonathan" <Jo******@discussions.microsoft.comwrote in message
news:DC**********************************@microsof t.com...
Hi I so new to vb.net that the paints still wet...

I would like to load a listbox (as I would do using vba). The properties
show multicolumn = true
column width = 300

How do I set the individual column widths?

listbox1.add(newItem) appends a new item to my list.
How do I add the additional column for each list item?

Any ideas or suggestions appreciated :-)

--
Many thanks
Jonathan Parminter

Jan 4 '08 #2

P: n/a
If, as I think you are, referring to some of the features of ListBox and
ComboBox controls in MS Access, then you need to be aware that those 2
controls are specific to MS Access.

The multicolumn behaviour of the standard ListBox control means that items
are listed down until the visible part of the list area is 'full' and then
the next items 'flow' into the next column. It is not analoguous with a
'grid'.

If you need functionality analogous with a 'grid' then you need to consider
using the ListView or DataGridView controls.
"Jonathan" <Jo******@discussions.microsoft.comwrote in message
news:DC**********************************@microsof t.com...
Hi I so new to vb.net that the paints still wet...

I would like to load a listbox (as I would do using vba). The properties
show multicolumn = true
column width = 300

How do I set the individual column widths?

listbox1.add(newItem) appends a new item to my list.
How do I add the additional column for each list item?

Any ideas or suggestions appreciated :-)

--
Many thanks
Jonathan Parminter
Jan 5 '08 #3

This discussion thread is closed

Replies have been disabled for this discussion.