PC Review


Reply
Thread Tools Rating: Thread Rating: 1 votes, 1.00 average.

Combobox with checked list box.

 
 
saurabhnsit2002@gmail.com
Guest
Posts: n/a
 
      15th Jan 2007
Can anyone help me about how to create combo box with its items as
checked boxes or radio buttons. This has to be done in C#. I have seen
something similar to this named custom combo boxes but they are in MFC
I have to remain constrained only in C#.
I have tried to add checked listbox in combobox drop down list but it
is showing in text format i.e. name of the control added, if I change
display property of combobox with some property of the object
referenced by the datasource of combobox then nothing is visible in
drop down list of combobox.

 
Reply With Quote
 
 
 
 
Morten Wennevik [C# MVP]
Guest
Posts: n/a
 
      15th Jan 2007
Hi,

This topic came up last thursday under the name "How to multiselect
entries in drop down" a description on how to create a checkable ComboBox
is described there.


On Mon, 15 Jan 2007 06:21:13 +0100, <(E-Mail Removed)> wrote:

> Can anyone help me about how to create combo box with its items as
> checked boxes or radio buttons. This has to be done in C#. I have seen
> something similar to this named custom combo boxes but they are in MFC
> I have to remain constrained only in C#.
> I have tried to add checked listbox in combobox drop down list but it
> is showing in text format i.e. name of the control added, if I change
> display property of combobox with some property of the object
> referenced by the datasource of combobox then nothing is visible in
> drop down list of combobox.
>




--
Happy Coding!
Morten Wennevik [C# MVP]
 
Reply With Quote
 
saurabhnsit2002@gmail.com
Guest
Posts: n/a
 
      16th Jan 2007
Hi Morten,

This is rely fantastic solution. This can serve the purpose. But surely
this will be the last solution for me.
Is there any way to replace combobox list view by checkedlistbox. This
can be done in C++ with help of subclassing. Can it be done here with
help of subclassing.

Regards,
Saurabh Jain.

Morten Wennevik [C# MVP] wrote:
> Hi,
>
> This topic came up last thursday under the name "How to multiselect
> entries in drop down" a description on how to create a checkable ComboBox
> is described there.
>
>
> On Mon, 15 Jan 2007 06:21:13 +0100, <(E-Mail Removed)> wrote:
>
> > Can anyone help me about how to create combo box with its items as
> > checked boxes or radio buttons. This has to be done in C#. I have seen
> > something similar to this named custom combo boxes but they are in MFC
> > I have to remain constrained only in C#.
> > I have tried to add checked listbox in combobox drop down list but it
> > is showing in text format i.e. name of the control added, if I change
> > display property of combobox with some property of the object
> > referenced by the datasource of combobox then nothing is visible in
> > drop down list of combobox.
> >

>
>
>
> --
> Happy Coding!
> Morten Wennevik [C# MVP]


 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Combobox list based on choice in previous combobox Slim Slender Microsoft Excel Programming 0 2nd Aug 2011 11:16 AM
Limit ComboBox list by previous ComboBox results David Microsoft Access Form Coding 1 7th Aug 2009 07:09 PM
Checked Combobox =?Utf-8?B?QmFzYW5pIE1hcmlh?= Microsoft Access Forms 1 26th Sep 2004 03:31 PM
Values contained in value list of second combobox based on value selected in first combobox. Anthony Microsoft Access Forms 16 6th Mar 2004 04:07 AM
Checked ComboBox control Chris Jones Microsoft Dot NET Framework Forms 2 16th Sep 2003 01:47 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 01:41 AM.