473,320 Members | 1,802 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,320 software developers and data experts.

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 22984
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.com

"WhiteWizard" <Wh*********@discussions.microsoft.com> wrote in message
news:55**********************************@microsof t.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.com

"WhiteWizard" <Wh*********@discussions.microsoft.com> wrote in message
news:55**********************************@microsof t.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.com

"WhiteWizard" <Wh*********@discussions.microsoft.com> wrote in message
news:DA**********************************@microsof t.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.com

"WhiteWizard" <Wh*********@discussions.microsoft.com> wrote in message
news:55**********************************@microsof t.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
"WhiteWizard" <Wh*********@discussions.microsoft.com> wrote in message
news:55**********************************@microsof t.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
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.)...
1
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...
4
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...
1
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...
2
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...
6
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,...
2
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...
5
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...
1
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)'. -...
0
by: DolphinDB | last post by:
The formulas of 101 quantitative trading alphas used by WorldQuant were presented in the paper 101 Formulaic Alphas. However, some formulas are complex, leading to challenges in calculation. Take...
0
by: ryjfgjl | last post by:
ExcelToDatabase: batch import excel into database automatically...
0
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: Vimpel783 | last post by:
Hello! Guys, I found this code on the Internet, but I need to modify it a little. It works well, the problem is this: Data is sent from only one cell, in this case B5, but it is necessary that data...
0
by: ArrayDB | last post by:
The error message I've encountered is; ERROR:root:Error generating model response: exception: access violation writing 0x0000000000005140, which seems to be indicative of an access violation...
0
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
0
by: Defcon1945 | last post by:
I'm trying to learn Python using Pycharm but import shutil doesn't work
0
by: af34tf | last post by:
Hi Guys, I have a domain whose name is BytesLimited.com, and I want to sell it. Does anyone know about platforms that allow me to list my domain in auction for free. Thank you
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...

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.