473,804 Members | 2,931 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

MultiSelect ComboBox?

Alright everyone, I've managed to stump this group 2 or 3 times now. Don't
let me down on this one ;)

I have a combo box that lists a number of tests to be run. The user would
like the option of being able to select several of the items in the ComboBox
at one time, then have them added to the listbox that details the tests.
Currently it works fine when they select one test at a time, but often they
have multiple tests they need to run. Anyone know how to do this?

I might have the option of creating a datagrid that lists all of the tests,
is there a way to select multiple rows in a datagrid and process them?

Thanks for all your help!

WhiteWizard (aka Gandalf)
--
MCSD.NET, MCAD, MCT
Mar 15 '06 #1
4 23046
Why not just use a CheckedListBox instance? It would be the easiest way
to have multiple selections.

ComboBox controls do not support multi-select functionality, nor does it
make sense, since it will only show one selection at a time.

Hope this helps.

--
- Nicholas Paldino [.NET/C# MVP]
- mv*@spam.guard. caspershouse.co m

"WhiteWizar d" <Wh*********@di scussions.micro soft.com> wrote in message
news:55******** *************** ***********@mic rosoft.com...
Alright everyone, I've managed to stump this group 2 or 3 times now.
Don't
let me down on this one ;)

I have a combo box that lists a number of tests to be run. The user would
like the option of being able to select several of the items in the
ComboBox
at one time, then have them added to the listbox that details the tests.
Currently it works fine when they select one test at a time, but often
they
have multiple tests they need to run. Anyone know how to do this?

I might have the option of creating a datagrid that lists all of the
tests,
is there a way to select multiple rows in a datagrid and process them?

Thanks for all your help!

WhiteWizard (aka Gandalf)
--
MCSD.NET, MCAD, MCT

Mar 15 '06 #2
Unfortunately I don't have the real estate for a CheckedListBox.

I know the ComboBox only shows one selection at a time, but each selection
then get put into a ListBox that details each of the tests to be run. I was
hoping I could allow them to select somehow, and just list the first one
selected, while moving all of the selections to the ListBox. Hmmm...on to
plan B.

WhiteWizard (aka Gandalf)
--
MCSD.NET, MCAD, MCT
"Nicholas Paldino [.NET/C# MVP]" wrote:
Why not just use a CheckedListBox instance? It would be the easiest way
to have multiple selections.

ComboBox controls do not support multi-select functionality, nor does it
make sense, since it will only show one selection at a time.

Hope this helps.

--
- Nicholas Paldino [.NET/C# MVP]
- mv*@spam.guard. caspershouse.co m

"WhiteWizar d" <Wh*********@di scussions.micro soft.com> wrote in message
news:55******** *************** ***********@mic rosoft.com...
Alright everyone, I've managed to stump this group 2 or 3 times now.
Don't
let me down on this one ;)

I have a combo box that lists a number of tests to be run. The user would
like the option of being able to select several of the items in the
ComboBox
at one time, then have them added to the listbox that details the tests.
Currently it works fine when they select one test at a time, but often
they
have multiple tests they need to run. Anyone know how to do this?

I might have the option of creating a datagrid that lists all of the
tests,
is there a way to select multiple rows in a datagrid and process them?

Thanks for all your help!

WhiteWizard (aka Gandalf)
--
MCSD.NET, MCAD, MCT


Mar 15 '06 #3
I find that hard to believe. If you have the real estate for a data
grid (which you said you might be able to do), then youhave the real estate
for a CheckedListBox.

If you can't do either of those, I would recommend a textbox with a
button next to it which brings up a dialog which you can then select your
tests from. Then, in the textbox, you can have a delimited list of items.
--
- Nicholas Paldino [.NET/C# MVP]
- mv*@spam.guard. caspershouse.co m

"WhiteWizar d" <Wh*********@di scussions.micro soft.com> wrote in message
news:DA******** *************** ***********@mic rosoft.com...
Unfortunately I don't have the real estate for a CheckedListBox.

I know the ComboBox only shows one selection at a time, but each selection
then get put into a ListBox that details each of the tests to be run. I
was
hoping I could allow them to select somehow, and just list the first one
selected, while moving all of the selections to the ListBox. Hmmm...on to
plan B.

WhiteWizard (aka Gandalf)
--
MCSD.NET, MCAD, MCT
"Nicholas Paldino [.NET/C# MVP]" wrote:
Why not just use a CheckedListBox instance? It would be the easiest
way
to have multiple selections.

ComboBox controls do not support multi-select functionality, nor does
it
make sense, since it will only show one selection at a time.

Hope this helps.

--
- Nicholas Paldino [.NET/C# MVP]
- mv*@spam.guard. caspershouse.co m

"WhiteWizar d" <Wh*********@di scussions.micro soft.com> wrote in message
news:55******** *************** ***********@mic rosoft.com...
> Alright everyone, I've managed to stump this group 2 or 3 times now.
> Don't
> let me down on this one ;)
>
> I have a combo box that lists a number of tests to be run. The user
> would
> like the option of being able to select several of the items in the
> ComboBox
> at one time, then have them added to the listbox that details the
> tests.
> Currently it works fine when they select one test at a time, but often
> they
> have multiple tests they need to run. Anyone know how to do this?
>
> I might have the option of creating a datagrid that lists all of the
> tests,
> is there a way to select multiple rows in a datagrid and process them?
>
> Thanks for all your help!
>
> WhiteWizard (aka Gandalf)
> --
> MCSD.NET, MCAD, MCT


Mar 15 '06 #4
vj
Or you could do something like a expanding control on hover, that grows when
the mouse or control enters your list box, the user can select what is
wanted and leave..., in the leave you could get the control back to original
size

VJ
"WhiteWizar d" <Wh*********@di scussions.micro soft.com> wrote in message
news:55******** *************** ***********@mic rosoft.com...
Alright everyone, I've managed to stump this group 2 or 3 times now.
Don't
let me down on this one ;)

I have a combo box that lists a number of tests to be run. The user would
like the option of being able to select several of the items in the
ComboBox
at one time, then have them added to the listbox that details the tests.
Currently it works fine when they select one test at a time, but often
they
have multiple tests they need to run. Anyone know how to do this?

I might have the option of creating a datagrid that lists all of the
tests,
is there a way to select multiple rows in a datagrid and process them?

Thanks for all your help!

WhiteWizard (aka Gandalf)
--
MCSD.NET, MCAD, MCT

Mar 15 '06 #5

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

4
6359
by: Jon McLean | last post by:
I fear that my question may be elementary, but what I am trying just is not working. I have two tables: tblContacts (Essentially a mailing list. Each contact has an Autonumber ID.) tblContactIssues (Just an issue ID as long integer and ContactID as long integer to correspond with tblContacts. I want to capture multiple issues of interest for each contact)
1
1985
by: tod4 | last post by:
Hi, My problem: I have query with value klient and product. On my form Im using multiselect box as filter of klient value. Now I would like to use second multiselect on this form for product value selection but only for those value that are filtered by first multiselect. I dont know how to connect selected value klient from first multiselect and value product from query and make it source of multiselect 2. Maybe someone did it before...
4
9137
by: Beeeeeeeeeeeeves | last post by:
I have an ownerdrawn combo box which I am drawing with an image and some text, this is all working beautifully apart from the difference in the Brush I have to draw the background and the text with if the item is the currently selected one. I have selected a blue (SystemColors.Highlight) background brush and white (SystemColors.HighlightText) text brush if the item is the highlighted one, but when I do that instead of functioning like a...
1
1638
by: Beeeeeeeeeeeeves | last post by:
I have an ownerdrawn combo box which I am drawing with an image and some text, this is all working beautifully apart from the difference in the Brush I have to draw the background and the text with if the item is the currently selected one. I have selected a blue (SystemColors.Highlight) background brush and white (SystemColors.HighlightText) text brush if the item is the highlighted one, but when I do that instead of functioning like a...
2
9862
by: Prabhudhas Peter | last post by:
I need a Combox in which i can select mulltiple Items on that... The multiple select option can be a multiExtented or with a check box...Actually i cannot use List box as i dont have enough space in the Form -- Peter...
6
1928
by: Dazbear | last post by:
Hi There Have been on a massive learning curve today creating an Access database without having even started the software before this morning! All going well and have learned to create table, forms, queries and even inter link. The database records support for a cohort of schools, giving the ability to give summaries of support by consultant, subject etc. So far all is going well with data being inputted by way of a school support
2
7137
by: saurabhnsit2002 | last post by:
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...
5
4257
by: martin DH | last post by:
Hello, The details are below, but I have a simple form (Form1) with two objects and a "search" command button. When the two objects are cascading combo boxes (the form creates the parameters for a query - Query1), the query returns my results proper. But when the two objects are cascading combo-then-multiselect listbox (the perferred format in this case), the query always returns zero records. Tables: COMPILE (contains the records to be...
1
1895
by: JpjVB | last post by:
I'm having difficulty filtering a form using a multiselect list box when using some Allen Browne code. I get the error "Syntax Error (missing operator)in query expression '( IN (""Sydney"London)'. - when I filter the cities Sydney and London from the multiselect list box in the form. The list box multiselect is set to Simple. The code breaks at Me.Filter = strWhere four lines from the end. Thanks for looking! ...
0
9706
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
9577
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
10325
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
0
10075
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
9140
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
0
5519
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
0
5651
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
2
3815
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
3
2990
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

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.