Questions tagged [combobox]

Combobox allows to select one option out of several (similar to a dropdownlist), or to type a custom option.

allows to select one option out of several (similar to a ), or to type a custom option. The main difference with the is thus that it's editable.

Although comboboxes are primarily meant for single selection they may be customized to support multiple selections.

, and are quite similar. However, is a read-only dropdown list of options and is a read-only list of options. Whereas in case of , the user can either select from the dropdownlist or type a value directly into the input field.

Drop-down list is sometimes also refered to as non-editable version of combobox.

See Wikipedia entry for Combobox.

18062 questions
3
votes
1 answer

editable ComboBox: issues with getValue()

I'm having issues wrapping my head around what getValue() actually returns, or rather: Eclipse seems to have that issue. This is my ComboBox: ComboBox intBox = new ComboBox; ObservableList intList =…
Jonatan Stenbacka
  • 1,824
  • 2
  • 23
  • 48
3
votes
1 answer

Using filter on sub form

I'm trying to use filter on sub form. I have a combo box on the main form. If Name is selected in the combo box and hit search button I want the respective data to be displayed in the sub form. If I set the row source of the combo box as SELECT…
Emi
  • 484
  • 2
  • 16
3
votes
1 answer

WPF ComboBox and SelectedItem Binding to XML DataSource

I have a comboBox inside a DataTemplate as below:
Jhelumi786
  • 41
  • 1
  • 5
3
votes
3 answers

ComboBox don't allow empty value to the user

I want the user to not be able to select an "empty" choice from the ComboBox (drop down style). This can be done if the user deletes the text of the ComboBox with his keyboard. I have tried having a SelectedIndexChanged event and try to detect if…
dimitris93
  • 4,155
  • 11
  • 50
  • 86
3
votes
1 answer

How to bind different properties to SelectedItem and SelectedIValue of ComboBox?

I have a thread that updates the current Mode property every second. I also want an option to be able to set a mode within the same cell in datagrid. So, in not editing mode I just show the mode. In editing mode, I show a populated ComboBox. Now,…
theateist
  • 13,879
  • 17
  • 69
  • 109
3
votes
1 answer

how to change align of combobox item to right?

I create a combobox in WPF (.net 4.5.1) by following xaml code, how to changed alignment of items to right like image?
Masoud AMR
  • 134
  • 2
  • 17
3
votes
0 answers

Multicombobox not visible on clicking back button

I am trying to develop an online booking system which has different options for each course. When a course is selected a combobox opens where you choose the week that you want the course. There is an validation function to ensure that certain fields…
Ian Young
  • 51
  • 5
3
votes
4 answers

WPF ComboBox, force input to UpperCase

I have an editable WPF ComboBox with TextSearchEnabled. I need to force the user's text input to uppercase when they type to filter the ComboBox. I was thinking of modifying the textbox that is part of the control (named 'PART_EditableTextBox') to…
Alex
  • 811
  • 2
  • 11
  • 23
3
votes
1 answer

WPF - How to highlight a combobox border when focused

I trying to create an application combo box theme. However I need the combo box border to change colour when tabbed to. I've tried everything, but I can't seem to get it right. Any help would be appreciated.
3
votes
3 answers

Binding ComboBox SelectedValue to string disables the default SelectedValue wpf

I'm trying to bind a ComboBox SelectedValue to a string. The Binding works flawlessly. However, one of my ComboBoxItem's IsSelected is set to True, but for some reason when I launch the application, none of the items is selected, the SelectedValue…
Idanis
  • 1,918
  • 6
  • 38
  • 69
3
votes
1 answer

Compare date from combobox with current date

I have a combobox with data from store: fields: [ {name: 'name', type: 'string'}, {name: 'createDate', type: 'string'} ] Field 'createDate' has format "03.05.2015", this combobox outputs only field 'name': { xtype: 'combobox', …
user3045654
  • 1,634
  • 2
  • 12
  • 21
3
votes
2 answers

Dataset Loading a WPF Combobox

DataSet dataSet = new DataSet(); using (SqlConnection connection = new SqlConnection("server=server; database=database; user id=user; password=user")) { connection.Open(); using (SqlCommand command = new SqlCommand("SELECT DISTINCT ID…
3
votes
2 answers

In a continuous form, can I have a combo box use a different query depending on a field or text box value within its own record?

Edit: for those wondering, it's apparently impossible to have the same combo box for two different records in a continuous form refer to two different queries to populate its list. I have a continuous form that has maybe 5 records. There is a combo…
Mike
  • 961
  • 6
  • 19
  • 43
3
votes
1 answer

dataChanged signal does not work with ComboBoxDelegate

My problem is the following: There is a QTableViewand a QStandardItemModel used in this way: ui->tableView->setModel(model); model->setItem(myrow, mycolumn, myQStandardItem); and a comboboxdelegate: ComboBoxDelegate* mydelegate = new…
3
votes
1 answer

assigning css into a class in a twig form

I am beginner dev. in symfony 2 and twig and I would like to add a bootstrap combobox https://github.com/danielfarrell/bootstrap-combobox/ that I have found on the net. I want to add this combobox on my twig template. However as it is written…
gobo
  • 310
  • 1
  • 4
  • 23
1 2 3
99
100