combobox Questions
8
Solved
My WPF ComboBox contains only text entries. The user will select one. What is the simplest way to get the text of the selected ComboBoxItem? Please answer in both C# and Visual Basic. Here is my Co...
Swellhead asked 15/9, 2010 at 20:13
5
Solved
Python 3.4.3, Windows 10, Tkinter
I am attempting to create a combobox that allows for multiple selections from the dropdown. I have found similar work for listbox (Python Tkinter multiple selecti...
7
I want to have an uneditable ComboBox but still show a white background colour, so it is effectively styled like the default ComboBox style (DropDown). The ComboBoxStyle.DropDownList only provides ...
27
Solved
I have just started using WPF forms instead of Windows Forms forms. In a Windows Forms form I could just do:
ComboBox.SelectedValue.toString();
And this would work fine.
How do I do this in WPF...
3
I am trying to extend the ttk combobox class to allow autosuggestion. the code I have far works well, but I would like to get it to show the dropdown once some text has been entered without removin...
Confidence asked 31/8, 2014 at 1:29
7
Solved
I'm working on a GUI that allows the user to manipulate xml files. I display the xml file in a datagridview organized neatly by columns through xml elements. I allow the user to add columns as an e...
Fondle asked 18/5, 2011 at 20:57
10
Solved
I have a class which give me this error
public class Item
{
public string Name;
public int Id
public Item(string name, int id)
{
Name = name;
Id = id;
}
}
Here is my function
var l...
Garling asked 10/9, 2014 at 9:26
6
How can i implement my Combobox TextSearch using contains instead of StartsWith
<rf:ComboBox Grid.Row="1"
Grid.Column="5"
Width="200"
ItemsSource="{Binding Source={StaticResource AccountProv...
6
Solved
I am trying to group results that I am getting from store to be displayed inside ComboBox .
I have a combobox that looks like this:
and I need it to look like this :
That means grouped by c...
Shackleford asked 20/6, 2013 at 15:7
9
I have a small problem that has been annoying me for some hours.
In my WinForms (.NET 3.5) application I create some ComboBoxes (DropDownStyle = DropDown) in a TableLayoutPanel at runtime and fill...
4
Solved
How can I disable specific items in a combobox in Ext JS?
For example I have these records
row_1_type_1
row_2_type_2
row_3_type_3
and I want to disable the third row i.e it should stay in the c...
Voe asked 10/10, 2012 at 20:30
10
Solved
I have some code that loads the serial ports into a combo-box:
List<String> tList = new List<String>();
comboBoxComPort.Items.Clear();
foreach (string s in SerialPort.GetPortName...
Cherellecheremis asked 14/5, 2010 at 22:16
10
How do i set this values? I have a DataTable with all the data i want to set in the combobox, but i cant find how to set it.
I tried
ComboBox1.DataSource = dataTable;
ComboBox1.ValueMember = "id"...
Illsuited asked 1/3, 2012 at 18:38
26
Solved
Is there a CSS-only way to style a <select> dropdown?
I need to style a <select> form as much as humanly possible, without any JavaScript. What are the properties I can use to do so in...
Linzy asked 13/12, 2009 at 3:33
4
Solved
I want a ComboBox which has no drop-down button but can still be opened when I click on the text in the ComboBox.
Is this possible with a WPF ComboBox?
Varletry asked 3/9, 2009 at 13:11
16
I have a krypton combo box which I data bind with a list of key-value pairs. What's happening is that when I set the selected item in code, it is highlighting the text. How can I prevent this or de...
Friedrick asked 27/10, 2011 at 13:33
4
Solved
I have a WPF ComboBox and I want to go to items that start with (for example) "e" in the ComboBox when I type that letter. How?
My XAML code:
<ComboBox ItemsSource="{Binding Roles}" SelectedVa...
10
Solved
How do you prevent user input in a ComboBox so that only one of the items in the defined list can be selected by the user?
8
Solved
public class ComboboxItem {
public string Text { get; set; }
public string Value { get; set; }
public override string ToString() { return Text; }
}
private void comboBox1_SelectedIndexChang...
Cavicorn asked 1/8, 2011 at 15:56
7
Solved
<!DOCTYPE html>
<html>
<script>
function getValue()
{
var x = document.getElementById("sel");
for (var i = 0; i < x.options.length; i++) {
if (x.options[i]....
Miterwort asked 8/10, 2012 at 5:42
5
Solved
Could you help me find the error in this one: The event triggers before even the windows form is loaded. I start to see the message Box and then I click OK,after that it loads the main screen.After...
Misstate asked 16/2, 2011 at 21:16
5
Solved
I have a thousands of cells in an Excel worksheet which are ComboBoxes. The user will select one at random and populate it.
How do I get the selected ComboBox value? Is there a way to trigger a fu...
16
I am trying to deselect (blank out) a number of combo-boxes in my windows forms application. In my application I have a Reset method that sets the SelectedIndex for each combo to -1. All of my comb...
6
Solved
Everyone probably knows what I mean, but to clarify the control would need to:
Fire an event when user edits the text. The event would provide a SuggestionList: TStrings which you could fill with...
Gouache asked 6/1, 2010 at 10:26
8
Is there an easy method to prompt the user to confirm a combo box selection change and not process the change if the user selected no?
We have a combo box where changing the selection will cause l...
Lashing asked 22/12, 2011 at 18:12
1 Next >
© 2022 - 2025 — McMap. All rights reserved.