I think there is a behavior bug in the combobox control. If you create a new
form and add a combobox to it with the following code line to add items to it:
Me.ComboBox1.Items.AddRange(New Object() {"Apple Sauce", "Banana",
"Apple", "Peach", "Plum"})
The behavior is normal except when you choose Apple. When Apple is
selected, if you click the down arrow, Apple Sauce is highlighted (Not
apple). This behavior is causing me a problem. Is there a work around? As
you might expect, this problem is most annoying if Apple is actually item 20
and the end user is using the dropdown feature to move to the next item. All
of a sudden, he is back at item 2 instead of 21. 4 1770
Are you sure the Sorted property isn't set to True?
--
Carsten Thomsen
Communities - http://community.integratedsolutions.dk
"genojoe" <ge*****@discussions.microsoft.com> wrote in message
news:26**********************************@microsof t.com... I think there is a behavior bug in the combobox control. If you create a new form and add a combobox to it with the following code line to add items to it:
Me.ComboBox1.Items.AddRange(New Object() {"Apple Sauce", "Banana", "Apple", "Peach", "Plum"})
The behavior is normal except when you choose Apple. When Apple is selected, if you click the down arrow, Apple Sauce is highlighted (Not apple). This behavior is causing me a problem. Is there a work around? As you might expect, this problem is most annoying if Apple is actually item 20 and the end user is using the dropdown feature to move to the next item. All of a sudden, he is back at item 2 instead of 21.
"genojoe" <ge*****@discussions.microsoft.com> schrieb: I think there is a behavior bug in the combobox control. If you create a new form and add a combobox to it with the following code line to add items to it:
Me.ComboBox1.Items.AddRange(New Object() {"Apple Sauce", "Banana", "Apple", "Peach", "Plum"})
The behavior is normal except when you choose Apple. When Apple is selected, if you click the down arrow, Apple Sauce is highlighted
It seems that the first item matching the pattern "Apple*" is selected. You
may want to set 'DropDownStyle' to 'DropDownList'. This should fix the
probem.
--
M S Herfried K. Wagner
M V P <URL:http://dotnet.mvps.org/>
V B <URL:http://classicvb.org/petition/>
All properties are default. (Sorted is False). If sorted was true, there
would not be a problem because Apple would preceed Apple Sauce. In my
example, Apple is later in the list. Hopefully, you can confirm the behavior
that I am experiencing. I am using .NET 1.1.
"CT" wrote: Are you sure the Sorted property isn't set to True?
Thank you very much. Problem Solved.
"Herfried K. Wagner [MVP]" wrote: "genojoe" <ge*****@discussions.microsoft.com> schrieb:I think there is a behavior bug in the combobox control. If you create a new form and add a combobox to it with the following code line to add items to it:
Me.ComboBox1.Items.AddRange(New Object() {"Apple Sauce", "Banana", "Apple", "Peach", "Plum"})
The behavior is normal except when you choose Apple. When Apple is selected, if you click the down arrow, Apple Sauce is highlighted
It seems that the first item matching the pattern "Apple*" is selected. You may want to set 'DropDownStyle' to 'DropDownList'. This should fix the probem.
-- M S Herfried K. Wagner M V P <URL:http://dotnet.mvps.org/> V B <URL:http://classicvb.org/petition/>
This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics
by: DraguVaso |
last post by:
Hi,
The Multi column comboBox is a well spoken control, that a lot of people
desire, and a lot of people buildtheir own. I tested a lot of them, but none
really was what i wanted to have.
But...
|
by: Susan Bricker |
last post by:
I went back to read my post and found an error in my description ...
here is the post, again, corrected:
The following error:
"The current field must match the join key '?' in the table that...
|
by: Shravan |
last post by:
Hi,
There is a bug in combobox selectionchangecommitted
event firing, I took a combobox of style dropdownlist, I
dropped down it using mouse and using Alt+Up Arrow key
closed the dropdown,...
|
by: Gary Boulter |
last post by:
hi,
I have an object populated from the database, The object has three properties,
the ID, a description, and a State
If I bind the object as a collection to a combo
comboBox.DataSourse =...
|
by: Shane |
last post by:
Pressing the down arrow button on a combo box fires the "DropDown"
event. Which event fires when you press the down arrow button a second
time?
I want to use the combobox as a textbox with a...
|
by: Bob |
last post by:
I have an ArryList that I'm using as a datasource for a combobox. As an item is selected in the combobox and processed I'd like to remove it from the combobox. When I try I get an error stating...
|
by: sparkle |
last post by:
Hi Everybody,
I'm filling a combobox from a class, which works fine on it's own.
But when I insert code to fill in other controls something in the
combobox fill is causing the...
|
by: dbuchanan |
last post by:
ComboBox databindng Problem
== How the ComboBox is setup and used:
My comboBox is populated by a lookup table. The ValueMember is the
lookup table's Id and the DisplayMember is the text from a...
|
by: Nate |
last post by:
I have used the feedback on this issue to remedy my comboboxes showing
the first item on the list when a new record is added to the binding
context ---
Me.BindingContext(dsOrders,...
|
by: CloudSolutions |
last post by:
Introduction:
For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
|
by: isladogs |
last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM).
In this session, we are pleased to welcome former...
|
by: taylorcarr |
last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
|
by: aa123db |
last post by:
Variable and constants
Use var or let for variables and const fror constants.
Var foo ='bar';
Let foo ='bar';const baz ='bar';
Functions
function $name$ ($parameters$) {
}
...
|
by: ryjfgjl |
last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
|
by: ryjfgjl |
last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
|
by: BarryA |
last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
|
by: Sonnysonu |
last post by:
This is the data of csv file
1 2 3
1 2 3
1 2 3
1 2 3
2 3
2 3
3
the lengths should be different i have to store the data by column-wise with in the specific length.
suppose the i have to...
|
by: Hystou |
last post by:
There are some requirements for setting up RAID:
1. The motherboard and BIOS support RAID configuration.
2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
| |