Hopefully someone can help because I haven't been able to figure this out. Here's my xaml code for the popup/combo box, please not there is other code before and after this for the rest of the layout.
<Popup x:Name="popupMethods" Height="400" Width="150"
StaysOpen="False" Placement="Bottom" IsOpen="false"
HorizontalA...
Hello,
Thanks in advance for any help. I've got two combo boxes which I'd like to be dependent on each others input. For example, when I update one, it filters the available values for the next. Thought I had everything working until after I switched between the two a few times, both just because blank.
I've got two combo boxes with ...
I create a Combo-box control in org.eclipse.swt.widgets.Table
The code snippet is below
...
TableEditor editor = new TableEditor (table_LLSimDataFileInfo);
CCombo combo = new CCombo (table_LLSimDataFileInfo, SWT.NONE);
combo.setText("CCombo");
combo.add("item 1");
combo.add("item 2");
editor.grabHorizontal = true;
...
I've got a textbox stacked on top of a ComboBox. The TextBox gets taller (via animation) when it gets focus, and shrinks back down when it loses focus.
The problems start when the TextBox loses focus to the ComboBox. When this happens, the selection Popup (the part that "drops down") appears just below the ComboBox, as expected, but a...
I have a .Net ComboBox where I am drawing the items using DrawMode.OwnerDrawVariable or DrawMode.OwnerDrawFixed.
When I do this, the standard behavior where pressing the first letter of an item when the style is DropDownList causes the item that starts with that letter to be selected stops working. What is the correct way to enable thi...
I have a ComboBox whose items are set using the DataSource property. The DataSource is a collection of a custom object (that has a string property 'Value' and int property 'Id'). In the initialise controls, I set the DisplayMember as Value and ValueMember as Id. Now I tried to clear the DataSource by calling,
myComboBox.DataSource = nu...
in my comboBox2_SelectedIndexChanged event i do some processing and in certain cases i want to change the SelectedIndex back to what it was before i change it. I see that sender.selectedIndex is the last index i used however i cant access that var. How do i tell the combobox to go back to w/e it was?
...
As you now the user can select an item from the comboBox by keyboard directly. By mouse I block the user to select some items depending on the behind object state. What's the best solution to stop this when the user uses the keyboard?
...
I am binding a WPF ComboBox to a nullable property of type MyEnum? (where MyEnum is an enumerated type)
I am programmatically populating the ComboBox items like this:
// The enum type being bound to
enum MyEnum { Yes, No }
// Helper class for representing combobox listitems
// (a combination of display string and value)
class ComboIt...
In my .NET owner-drawn-variable combo box, when I move by page or by mouse wheel, it appears to scroll in the WRONG DIRECTION, but then ends up on the right item.
Nothing seems to avoid this behavior. I tried making it owner-drawn-fixed, but it then changed the size of the combo box.
How can I make it scroll normally?
Thanks in advan...
Update
After a bit of investigating. What seems to be the issue is that the SelectedValue/SelectedItem is occurring before the Item source is finished loading. If I sit in a break point and weight a few seconds it works as expected. Don't know how I'm going to get around this one.
End Update
I have an application using in WPF using...
Hi Everyone,
I have a fairly complex and large application that hands loads and loads of data. Is there a speedy way to add items to ComboBox that doesn't take so long? On my P3 3.2ghz, the following snippet takes just under a second to add around 32,000 items. (MasterCIList is a StringList with strings typically 20 - 30 bytes long)....
Hello All,
I am making a program that allows user to custom keyboard shortcuts, for this i need the available keys to be displayed, what is the best way to achieve this in java swing?
KeyEvent.class.getDeclaredFields()
I am intrested in dynamic example of below,
keysLST.setModel(new javax.swing.DefaultComboBoxModel(new String[]...
Hi
I just want to add a tooltip for each item in a combo box. i am using c#.net windows application.
There is no option like
combobox.items[1].tooltip();
Is there any way to add tooltip it ?
...
The .NET ComboBox autocomplete will not fully autocomplete with the display text contains a slash. It completes only up to the slash, leaving SelectedIndex == -1 and SelectedValue == null.
This behavior stupidly persists no matter whether your autocompletesource is set to ListItems rather than FileSystem or URL.
Is there any workaro...
hi,
i have a combobox in a form and when i click submit i get this error.
HTTP ERROR: 404 No result defined for action MyAction and result input
in the action i tried to return INPUT instead of SUCCESS but still doesnt work.
any ideas what can be wrong?
thanks.
...
hi,
my form is passing the String name of the country to the action. how can i pass the id of the object country from the combobox to the action?
this is what i have:
s:combobox label="Country" name="country" headerValue="Select" headerKey="1" list="%{countries}" listValue="name"/>
thanks.
...
I am using an obout combobox to display color swatches for a product catalog and it's very cool except for one thing.
When on the server, I set the .Value property explicity (for a reset) it IS setting on the serverside, but not in the client.
For example, I add all my color swatches from Linq, but then add a default setting of "Color....
Is it possible to use the default ComboBox control under VB6 to make it a smart ComboBox?
We suppose that the values are already populated in the ComboBox. For example:
New Delhi
New World
New York
We need the ComboBox to respond to one of the default events, so when for example the user writes 'N' the value in the ComboBox will be th...
I have a method that validates a combo box control like so:
Public Function ValidateComboBox(ByVal objMessageMode As Errors.MessageMode, ByVal cboInput As ComboBox) As Boolean
Dim blnValidated As Boolean
'no value--invalidate'
If cboInput.SelectedValue Is Nothing Then
Errors.InvalidateField(cboInput, Errors.errFiel...