473,792 Members | 3,076 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

How to multiselect a combo box

I like the combo box because you can scroll through items nicely, but the
list box just has the navigation where you can go up and down. I am trying
to allow the user to multiselect items. With the list box, he does not like
it because if he clicks on the nav bar, it loses the selection!! even if he
holds down the shift.

Is there a way to do this with a combo box? I just see the multi select for
the list box.

Thanks in advance

Danny
Nov 13 '05 #1
1 5026
On Tue, 27 Jul 2004 18:53:14 GMT, "Danny" <da********@hot mail.com>
wrote:
I like the combo box because you can scroll through items nicely, but the
list box just has the navigation where you can go up and down. I am trying
to allow the user to multiselect items. With the list box, he does not like
it because if he clicks on the nav bar, it loses the selection!! even if he
holds down the shift.

Is there a way to do this with a combo box? I just see the multi select for
the list box.

No. Multi-select is not available for combo boxes.

Make sure the list box has it's MulitSelect property to Extended. Then
the user will be able to make mulitple selections by 2 ways. For
uncontiguous selections hold the Ctrl key down while clicking. For
contiguous selections use the Shift key while clicking to select
everything from the previous selection to the current selection.

- Jim
Nov 13 '05 #2

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)
3
2588
by: Shannan Casteel via AccessMonster.com | last post by:
I have three main tables. The first is the table that my main form will be based on. This is where the user will enter all the data. The table is called TechnicalProblemsTable. It looks like this: I can't fit it on the screen, so I'll just list the field headings vertically. CaseNumber-pk SolutionNumber Date
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...
0
1303
by: Rob | last post by:
I am attempting to update a number of combo boxes on a form based on the users selection in the data grid I want the user to be able to select multiple items Using a separate button I can loop through and get a list of the rows selected like this CurrencyManager cm = (CurrencyManager)this.BindingContext; DataView dv = (DataView)cm.List; for(int i = 0; i < dv.Count; ++i) { if(dg.IsSelected(i))
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...
1
3303
by: JNariss | last post by:
Hello, I have created a form called frmS2P with the following: 1 listbox called List11 which holds the contents of a query created off my table called tblRequestActions. The fields which the listbox holds are Request_ID and MoveNumber. 1 text box called Date which is populated with the default value of =Date( ).
4
23044
by: WhiteWizard | last post by:
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....
2
1600
by: ttime | last post by:
I've got a form that uses a multiselect listbox. When a user is selected from a combo box, values are populated into this listbox associated with that user. The problem is, if one person has say 10 entries in the listbox, and selects the last 3-4, and the next user only has 2 entries, those last 3-4 rows are still highlighted in the listbox. This introduces null values into my code which is definitely not good. I've tried using...
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...
0
9518
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
10430
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
10211
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...
1
10159
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
9033
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
6776
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
5560
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
4111
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
3
2917
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.