473,379 Members | 1,335 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,379 software developers and data experts.

>> multi column listbox

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
2 1721
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
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 thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

25
by: Shannon Jacobs | last post by:
Maybe there is a simple trick here, and I'm not spotting it... Is there a guru of CSS hanging around here who can help out? The page in question has a multi-column table with a list of links in...
4
by: headware | last post by:
I have a <select> control that contains many entries. It allows the user to multi-select a group of them, click a button, and store the selected data in a database. Normally they do this starting...
9
by: Ross | last post by:
it seems that it is only supported by w3c but not IE or netscape, but what is a w3c browser ?
1
by: herrcho | last post by:
#include <stdio.h> int multi; int main() { printf("\nmulti = %u",multi); printf("\nmulti = %u",multi); printf("\n&multi = %u\n",&multi); return 0;
2
by: JoeHenrich | last post by:
I am using VS.NET 2003 and am having an interesting issue with a Listbox control. Essentially, I have a form with a listbox on it. In the listbox doubleclick event I would like to do some...
6
by: Chris Fink | last post by:
Does anyone know it is possible to include a small image(.gif .jpeg) within a <SELECT><option> so that the user would see the option text as well as a little image(icon) in the option? I know this...
3
by: Ryan Taylor | last post by:
Hello. I have an application where I need the user to be able to add items to a listbox. I've implemented this via javascript. The listbox is an <asp:ListBox>. However, when the user submits the...
2
by: rudy | last post by:
how do I create a list box that I can use to filter the records in another list box on a form.
4
by: Kevin Blount | last post by:
As mentioned before, I'm creating a multi-lingual page where the text of the page comes from a database. This page includes a registration form which asks for address information, including the...
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome former...
0
by: ryjfgjl | last post by:
In our work, we often need to import Excel data into databases (such as MySQL, SQL Server, Oracle) for data analysis and processing. Usually, we use database tools like Navicat or the Excel import...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.