Link to home
Start Free TrialLog in
Avatar of ssonia27
ssonia27

asked on

multicolumn combobox

I want to use multicolumn combobox in my program.  and I have not found any such facility in vb.net
Is there any way to use multicolumn combobox in vb.net like VB6

thanks
SS
Avatar of rohanpandya
rohanpandya

Hi

    I don't think show that there is any functionality like multi column combo in the vb.net. Ya you can use like in item collection you can enter data by giving space so they looks like different column.

   
Avatar of ssonia27

ASKER

emoreau has given good links for multicolumn combobox feature.
but these are all lengthy methods and contains code to add values in multicolumns at runtime only.
my requirement is to have almost20-30 multicolumn comboboxes in my form.
so this idea has not solved my problem.

SS
Why don't you create your own multi-column combo based on these articles?
I have designed one multicolumn combobox. but for this I'm using listview, textbox and commandbutton controls. this is also time consuming method and make form very heavy.
so I want to use property file type functionality to implement multicolumn combobox.
for my requirement , in front end only single column combobox will also work. but in coding I need code of the value selected from the combobox.
so without multicoulm combobox, this can be done.

now I'm searching for how to use property file to implement this.
is there any idea for this?

SS

ASKER CERTIFIED SOLUTION
Avatar of Éric Moreau
Éric Moreau
Flag of Canada image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
why don't you use the ready made from http://www.devwire.net/ComboPlus.aspx
encapsulation of  controls is good to implement and free combobox from the given link is good.
but I'm using property files to load and get values from combobox.
this method works fine.

I'm accepting emoreau's answer "encapsulation of controls".