Most voted "combobox" questions
Combobox allows you to select an option from several (similar to a list box), however only the selected item is displayed by default (reducing the space of the occupied one on the screen). Use this tag for questions that are specific to this user interface control d/component, regardless of the technology used.
Learn more…163 questions
Sort by count of
-
12
votes2
answers1686
viewsVBA/Excel Combobox : Disable Auto-Complete
I’m typing a text that’s in a Combobox of VBA/Excel, but the initial part of the text matches another already included in the list, besides completing it automatically (which I do not want), it…
-
11
votes1
answer286
viewsWPF form is going behind all windows when a Combobox is selected
My form WPF works perfectly, but in a ComboBox specific, after the action of selecting, the form is going behind all the windows, without further explanation, and this does not happen in any other…
-
7
votes1
answer1161
viewsC# Winforms - Autocomplete (filter) combobox when typing
I have a Combobox (cmbBairro) with the names of the neighborhoods of my city, which carries the values of a List (_Listneighborhoods). When the user tries to search a neighborhood by typing, he…
-
7
votes3
answers15498
viewsC# dynamic COMBOBOX (SQL BD table data)
I need to load a combobox with the data from an SQL DEPARTMENT table (with code and description/ the description is displayed in the combobox but what is caught is the code) I used a datasource (the…
-
7
votes2
answers498
viewsFill a textbox with combobox element
I have a combobox connected to a textbox by a function. It works like this: while the person type something in the textbox, a kind of 'filter' is automatically performed in the combobox, which shows…
-
7
votes2
answers138
viewsCombobox is not being filled in by the Items I want
I have a Combobox filled out from a list created with information obtained from a txt file. But instead of being filled in with the file information it is getting inside it ----->…
-
5
votes1
answer839
viewsWPF - The Selecteditem property, from Combobox, is not working properly
Note: This question was the translation adapted from the original question, so all the Updates of the original question are together in this text, sorry for that, but the time is short and I can’t…
-
5
votes1
answer301
viewsTwo dependent combobox using Linq to sql
How do I fill two combobox’s with Linq to sql where in a combobox for example I have countries and in another I have cities? How do they automatically change the values? I leave the image below how…
-
5
votes1
answer1236
viewsHelp - C# how to update combobox? type autocomplete
First I am developing a C# system and using Sql Server as a database. I would like to accomplish the following task: When something is typed in the combobox I update the itself, by means of a search…
-
5
votes1
answer2775
viewsLoad Combobox from a List<>
I’m trying to load items into one ComboBox from a List<>, worked out however, later I would need to get the code referring to the selected item, but it is not working. The code to load the…
-
4
votes2
answers701
viewsCombobox read only
I’m trying to get a combobox read only (as the option ReadOnly of textbox), tampering with the properties of the object, but I’m not succeeding. The combobox is in a common windows form. It will be…
-
4
votes3
answers696
viewsHow to make a custom filter using the Bootstrap Selectpicker?
Good morning guys. I have a problem using Selectpicker to make a Combobox with the products I bring from BD with PHP. My problem is this: I need to make a "custom" filter because when I put inside…
-
4
votes1
answer482
viewsHow to treat unusual closing of a Combobox list in VBA?
I am creating an important effect for the presentation of a Combobox in particular. This Combobox is originally produced centralized, and when opening your list I make the text left-aligned so that…
-
4
votes1
answer53
viewsComboboxes that share the same Datasource, swap the selection together
I am doing a production order project and I have 7 combobox picking the values from the same table (which are the raw materials). I’m using this code on load form to load the combobox:…
-
4
votes1
answer1092
viewsDownload Javascript Array on a Combobox
I would like help in this small problem, I have to do a combobox shows 5 states being loaded by an array in javascript, my code is like this. HTML <select > <option…
-
4
votes1
answer884
viewsHow to fill out form from the combobox, with database information?
I used the code like this: <html lang="pt-pt"> <head> </head> <body> <?php $servername = "localhost"; $username = "isabelso_isabel"; $password = "password"; $dbname =…
-
3
votes2
answers428
viewsHow to remove the option selected in multiple Comboboxes?
I have several components of the type ComboBox with identical options. The user must select one of them(e.g. "Name"). How to do so when an option is selected, in any one ComboBox, she disappears…
-
3
votes1
answer628
viewsCombo box with search
I need to create a combobox that allows the administrator to search the user and that while the administrator searches, already appear within the combo some options that are similar to what was…
-
3
votes3
answers590
viewsCombobox in Databases
I always used Delphi and there had with component called DBLookupcombobox where it was possible to list the data of a table and use the field ID save in the main table, for example: In an employee…
-
3
votes1
answer127
viewsFormat Combobox value pulled from SQL database (LINQ) in C# Project (WPF)
I need some help with the code below... I need to make the Float value pulled from the SQL Database in the Brazilian format of the Real Number Set in a C# (WPF) project in a Combobox (as Double).…
-
3
votes3
answers2883
views -
3
votes3
answers1552
viewsHow to set index when inserting item in Jcombobox?
I wonder if someone could help me. I’m trying to add items to a JComboBox: Pessoa carlos = new Pessoa(12, "Carlos" , 0.0f); jComboBoxF.addItem(carlos.getNome()); Pessoa maria = new Pessoa(23,…
-
3
votes2
answers127
viewsHow to access dropdonw value without refresh
There is a way to take the value of the chosen option of my select, on the same page, without submitting the form, at the time the user makes a change? <select id="s_um" name="s_um">…
-
3
votes1
answer5608
viewsIs there already an open Datareader associated with this command that should be closed first?
I have a combobox that is receiving data from a table of my BD Mysql. So far so good. However, when I return to the home screen, where it is, it ends up giving a problem (There is already a…
-
2
votes3
answers10204
viewsHow to put a value that is saved in the database in a combobox?
I am using C# Windows Forms with . NET 3.5. I’ve inserted all Federation states into the property items of my combobox. When I search for a record saved from my comic book, the combobox does not…
-
2
votes1
answer980
viewsC# creating a property in a Usercontrol
I have a project in C# and created a usercontrol with two components: a combobox and a button. I need to create a property to change the properties of the usercontrol combobox. I tried it this way:…
-
2
votes1
answer596
viewsHow to make the Combobox list bigger than Combo itself?
How can I make visible all the contents of the combobox I have without increasing its size? Today she’s like this: I want her to stay that way: Updating Through one comment, I found the solution at…
-
2
votes2
answers1631
viewsMake a combobox take C#
I doubt to make the combobox assume a value. I have two combobox with the items 'low, medium and high' and I want that if I select low in the combobox it takes the value 0, if I select medium it…
-
2
votes2
answers2873
viewsLaravel - How popular a combobox in the 'on load' event of a view (Blade)
I need to popular a combobox with database data, but this fill should occur while loading the view. Since the view is not the right place to write code, how to feed the combobox? Through a method in…
-
2
votes1
answer40
viewsC# All my combobox are changing text
I’m having a problem with my program where when I change the values of one of my combobox, example: private void Ex1Mat_SelectedIndexChanged(object sender, EventArgs e) { if (start == false) {…
-
2
votes2
answers254
viewsItems in levels within an HTML Combobox. Is it Possible?
Let’s say you want to list in one Combobox items for sale on an e-commerce site. But on this list, I want to first display the category name and below the items. Example: Sports Bicycle Boot…
-
2
votes1
answer460
viewsRemove Down Arrow from a Combobox
I want to use a TComboBox with the property style = csDropDown as if it were a TEdit. But why use a TComboBox then? Because I only want one feature of it, the AutoComplete. But I want to remove the…
-
2
votes2
answers232
viewsC# error when trying to add an inherited component in Toolbox
I am trying to create a component that inherits from a Combox. I created the component by following the steps below, the project is available at:…
-
2
votes1
answer48
viewsProblems with data registration with Combobox listing and function
I’m having great difficulties with the combobox and the use of Function in Delphi I apologize, I am beginner in the world of programming and can not identar the code here, I will leave the code in…
-
2
votes1
answer1327
viewsusing Ajax to seek state - city
I need to create a conbobox of state and cities. According to the selected state, the corresponding cities are displayed. <select name="estados" id="estados"> <option value="0">Selecione…
-
2
votes1
answer516
viewsFill in Combobox
In a User Registration Form, I have a combo box UF (which loads the data from an sql table), when writing in Combox the system needs to go searching the data and presenting despite those that…
-
2
votes1
answer162
viewsLoad the combobox
When save a dice in the combo box, and in this combo box has two options (gasoline, diesel, alcohol, natural gas) When I select diesel and save it works normally. The problem is when I want to load…
-
2
votes3
answers2407
viewsState and City Combobox associative array in Javascript
I’m trying to set up this associative array, in the case of the combobox is the state of São Paulo, it has to show 5 cities of São Paulo, if it is Rio de Janeiro, shows the 5 cities of Rio de…
-
2
votes1
answer340
viewsCombobox does not update and accepts wrong values
Good, I have this code for a combobox, and I have two problems. First: I can’t get the combobox to accept only the list values Second: the listing has only one value Private Sub TempCombo_Change()…
-
2
votes1
answer1087
viewsHow to validate Combobox?
I have a Form registration in which you have some fields TextBox and ComboBox, I want my code to allow the user to register only when all fields are filled, but it is only validating TextBox, thus…
-
2
votes1
answer133
viewsPassing a Connection string dynamically
Well my problem would be trying to pass a connection string from a txt. file which is also used to bring the items from my Combobox, the goal and bring a different database depending on the item…
-
2
votes1
answer74
viewsFilter using combobox
I’m trying to make some filters using combobox, these filters correspond to the year and month pulled from a date. For example: When selecting the year 2019 and the month 01 all results for the…
-
1
votes2
answers6454
viewsHow to clean the combobox without losing the items?
How to clean the combobox without losing the items? I try to clean up the combobox in C#, but either it eliminates all options or the selected one, as I do to clean without losing items?…
-
1
votes2
answers108
viewsBinding Linked Combobox Update
I’m working with the standard MVVM, so far so good, I have a class PessoaViewlModel. In it I own a property IEnumerable<Municipio> Municipios, in which he presents to me all the…
-
1
votes2
answers1997
viewsC# Simple - Forms - Pass to the datagrid what I select in the combobox
Guys, good afternoon, I’m new to programming language, I need a little help. I’m able to call the database data in the combobox with select, but I’m not able to do a function that when I click OK,…
-
1
votes2
answers213
viewsHow can I get the text inside a combobox?
How can I get the text inside the combobox to add to the database? For example, "AC" or "AL". <select> <option value="1">AC</option> <option value="2">AL</option> ...…
-
1
votes1
answer781
viewsHow to allow the insertion of information in the database using Dblookupcombobox?
I have a DBLookupComboBox capturing data from the table Species for the user to select what they need, after that this data is saved in the table Animal. My question is how do I manage to allow the…
-
1
votes1
answer331
viewsInsert component without using setBounds
I’m using a free design in my project and dragging to my jFrame the components I want. However, I needed to use a jComboBox with autocomplete and guided by this site. Now I wanted to use the class…
-
1
votes0
answers312
viewsFill java combobox with mysql query
I’m having a question about how to implement loading items into a combobox from a table data in mysql. The problem is to select from the combobox the name of a supplier and then assign to that…
-
1
votes1
answer185
views