Connecting Tech Pros Worldwide Forums | Help | Site Map

combox box control question

djc
Guest
 
Posts: n/a
#1: Feb 2 '06
I am tinkering with vb.net in visual studio 2005... I remember way back in
vb4 days that you could have multicolumn comboboxes... I think. I could be
wrong. I could not see anywhere in the VS2005 combobox properties where to
make this happen? like a 'columns' property or something? I only saw ways to
control display vs value for a single column combobox and that seemed to
only be when bound to some kind of datasource like a database table.

anyone care to enlighten this poor fool?



Tim Wilson
Guest
 
Posts: n/a
#2: Feb 2 '06

re: combox box control question


You can use the method outlined at the link below to host controls in a
popup window when the ComboBox is dropped down. If you want multiple columns
you could host a ListView or a DataGridView.
http://blogs.msdn.com/jfoscoding/arc...03/384430.aspx

There are also articles that describe how to create a multi column
appearance in a ComboBox.
http://www.codeproject.com/vb/net/multicolumncombo.asp
http://www.codeproject.com/cs/combob...olumncombo.asp

--
Tim Wilson
..NET Compact Framework MVP

"djc" <noone@nowhere.com> wrote in message
news:u56GyUEKGHA.4020@TK2MSFTNGP10.phx.gbl...[color=blue]
> I am tinkering with vb.net in visual studio 2005... I remember way back in
> vb4 days that you could have multicolumn comboboxes... I think. I could be
> wrong. I could not see anywhere in the VS2005 combobox properties where to
> make this happen? like a 'columns' property or something? I only saw ways[/color]
to[color=blue]
> control display vs value for a single column combobox and that seemed to
> only be when bound to some kind of datasource like a database table.
>
> anyone care to enlighten this poor fool?
>
>[/color]


djc
Guest
 
Posts: n/a
#3: Feb 3 '06

re: combox box control question


thanks, I'll check them out.

"Tim Wilson" <TIM(UNDERSCORE)WILSON(AT)ROGERS(PERIOD)COM> wrote in message
news:Or1KymEKGHA.3276@TK2MSFTNGP09.phx.gbl...[color=blue]
> You can use the method outlined at the link below to host controls in a
> popup window when the ComboBox is dropped down. If you want multiple[/color]
columns[color=blue]
> you could host a ListView or a DataGridView.
> http://blogs.msdn.com/jfoscoding/arc...03/384430.aspx
>
> There are also articles that describe how to create a multi column
> appearance in a ComboBox.
> http://www.codeproject.com/vb/net/multicolumncombo.asp
> http://www.codeproject.com/cs/combob...olumncombo.asp
>
> --
> Tim Wilson
> .NET Compact Framework MVP
>
> "djc" <noone@nowhere.com> wrote in message
> news:u56GyUEKGHA.4020@TK2MSFTNGP10.phx.gbl...[color=green]
> > I am tinkering with vb.net in visual studio 2005... I remember way back[/color][/color]
in[color=blue][color=green]
> > vb4 days that you could have multicolumn comboboxes... I think. I could[/color][/color]
be[color=blue][color=green]
> > wrong. I could not see anywhere in the VS2005 combobox properties where[/color][/color]
to[color=blue][color=green]
> > make this happen? like a 'columns' property or something? I only saw[/color][/color]
ways[color=blue]
> to[color=green]
> > control display vs value for a single column combobox and that seemed to
> > only be when bound to some kind of datasource like a database table.
> >
> > anyone care to enlighten this poor fool?
> >
> >[/color]
>
>[/color]


Closed Thread