Hi all, Iive found this bug int the VB combobox and I'd like to know if
there is a way to solve it...
Put a combobox in a form, and fill it with these 3 items:
- athens
- berlin
- chicago
then launch the program and enter in the form containing the combo. Click on
the arrow near the combo, so the dropdown list under the combo appears and
the 3 items are showed. Now, write the letter 'a' in the combo and then
click somewhere on the form WITHOUT selecting an item of the combobox. You
will see that the dropdownlist disappears and the text 'athens' is showed
and selected in the combo. So is the first item of the combo selected? No!
If you check the SelectedIndex property, the value is still -1.
Resuming, it seems there are problems when you write something in the combo
while the dropdown list is showed...
Is it a known bug? Is there a workaround?
Thanks 5 2577
I can confirm this behaviour. I think you can say that this is analogous to
having aborted the operation because you clicked outside the control.
This behaviour remains consistant in VS2005
--
OHM ( Terry Burns ) * Use the following to email me *
Dim ch() As Char = "ufssz/cvsotAhsfbuTpmv ujpotXjui/OFU".ToCharArra y()
For i As Int32 = 0 To ch.Length - 1
ch(i) = Convert.ToChar( Convert.ToInt16 (ch(i)) - 1)
Next
Process.Start(" mailto:" & New String(ch))
--
"Claudio Di Flumeri" <cl***********@ mtgc.net> wrote in message
news:2s******** *****@uni-berlin.de... Hi all, Iive found this bug int the VB combobox and I'd like to know if there is a way to solve it...
Put a combobox in a form, and fill it with these 3 items: - athens - berlin - chicago
then launch the program and enter in the form containing the combo. Click on the arrow near the combo, so the dropdown list under the combo appears and the 3 items are showed. Now, write the letter 'a' in the combo and then click somewhere on the form WITHOUT selecting an item of the combobox. You will see that the dropdownlist disappears and the text 'athens' is showed and selected in the combo. So is the first item of the combo selected? No! If you check the SelectedIndex property, the value is still -1.
Resuming, it seems there are problems when you write something in the combo while the dropdown list is showed...
Is it a known bug? Is there a workaround?
Thanks
Claudio,
you can also break it by selecting an item and releasing the mouse off the
combo.
This is particularly apparent when running under Citrix - aaargh
guy
"Claudio Di Flumeri" wrote: Hi all, Iive found this bug int the VB combobox and I'd like to know if there is a way to solve it...
Put a combobox in a form, and fill it with these 3 items: - athens - berlin - chicago
then launch the program and enter in the form containing the combo. Click on the arrow near the combo, so the dropdown list under the combo appears and the 3 items are showed. Now, write the letter 'a' in the combo and then click somewhere on the form WITHOUT selecting an item of the combobox. You will see that the dropdownlist disappears and the text 'athens' is showed and selected in the combo. So is the first item of the combo selected? No! If you check the SelectedIndex property, the value is still -1.
Resuming, it seems there are problems when you write something in the combo while the dropdown list is showed...
Is it a known bug? Is there a workaround?
Thanks
But if the operation is aborted, then the text in the combo should remain
the one I've written (in my example, 'a'), and not completed with one of the
item in the combo when i click outside the control... I don't think this is
a correct behaviour
"One Handed Man ( OHM - Terry Burns )" <news.microsoft .com> ha scritto nel
messaggio news:eB******** ******@TK2MSFTN GP14.phx.gbl... I can confirm this behaviour. I think you can say that this is analogous to having aborted the operation because you clicked outside the control.
This behaviour remains consistant in VS2005
-- OHM ( Terry Burns ) * Use the following to email me *
Dim ch() As Char = "ufssz/cvsotAhsfbuTpmv ujpotXjui/OFU".ToCharArra y() For i As Int32 = 0 To ch.Length - 1 ch(i) = Convert.ToChar( Convert.ToInt16 (ch(i)) - 1) Next Process.Start(" mailto:" & New String(ch)) --
"Claudio Di Flumeri" <cl***********@ mtgc.net> wrote in message news:2s******** *****@uni-berlin.de... Hi all, Iive found this bug int the VB combobox and I'd like to know if there is a way to solve it...
Put a combobox in a form, and fill it with these 3 items: - athens - berlin - chicago
then launch the program and enter in the form containing the combo. Click on the arrow near the combo, so the dropdown list under the combo appears and the 3 items are showed. Now, write the letter 'a' in the combo and then click somewhere on the form WITHOUT selecting an item of the combobox. You will see that the dropdownlist disappears and the text 'athens' is showed and selected in the combo. So is the first item of the combo selected? No! If you check the SelectedIndex property, the value is still -1.
Resuming, it seems there are problems when you write something in the combo while the dropdown list is showed...
Is it a known bug? Is there a workaround?
Thanks
You may not think so, but as I say, VS2005 behaves the same way. I think you
can view it as the Item is focused but not selected.
--
OHM ( Terry Burns ) * Use the following to email me *
Dim ch() As Char = "ufssz/cvsotAhsfbuTpmv ujpotXjui/OFU".ToCharArra y()
For i As Int32 = 0 To ch.Length - 1
ch(i) = Convert.ToChar( Convert.ToInt16 (ch(i)) - 1)
Next
Process.Start(" mailto:" & New String(ch))
--
"Claudio Di Flumeri" <cl***********@ mtgc.net> wrote in message
news:2s******** *****@uni-berlin.de... But if the operation is aborted, then the text in the combo should remain the one I've written (in my example, 'a'), and not completed with one of the item in the combo when i click outside the control... I don't think this is a correct behaviour
"One Handed Man ( OHM - Terry Burns )" <news.microsoft .com> ha scritto nel messaggio news:eB******** ******@TK2MSFTN GP14.phx.gbl...I can confirm this behaviour. I think you can say that this is analogous to having aborted the operation because you clicked outside the control.
This behaviour remains consistant in VS2005
-- OHM ( Terry Burns ) * Use the following to email me *
Dim ch() As Char = "ufssz/cvsotAhsfbuTpmv ujpotXjui/OFU".ToCharArra y() For i As Int32 = 0 To ch.Length - 1 ch(i) = Convert.ToChar( Convert.ToInt16 (ch(i)) - 1) Next Process.Start(" mailto:" & New String(ch)) --
"Claudio Di Flumeri" <cl***********@ mtgc.net> wrote in message news:2s******** *****@uni-berlin.de... Hi all, Iive found this bug int the VB combobox and I'd like to know if there is a way to solve it...
Put a combobox in a form, and fill it with these 3 items: - athens - berlin - chicago
then launch the program and enter in the form containing the combo. Click on the arrow near the combo, so the dropdown list under the combo appears and the 3 items are showed. Now, write the letter 'a' in the combo and then click somewhere on the form WITHOUT selecting an item of the combobox. You will see that the dropdownlist disappears and the text 'athens' is showed and selected in the combo. So is the first item of the combo selected? No! If you check the SelectedIndex property, the value is still -1.
Resuming, it seems there are problems when you write something in the combo while the dropdown list is showed...
Is it a known bug? Is there a workaround?
Thanks
This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics |
by: Mr. B |
last post by:
Here's the situation...
You've a combobox with Items already added. Say they look like this (or even
lines of text):
10-00-232
10-00-256
10-01-006
10-01-213
10-02-200
|
by: Nicolae Fieraru |
last post by:
Hi All,
I am trying to change the rowsource of a combobox when I click on it. I
played with many events, associated with the form and the combobox, but
still haven't figured out what is the way of doing it.
I have a table with products, tblProducts, some of them are Active while
others are Inactive.
The form shows all the products purchased by a customer, both Active and
Inactive in a ComboBox, cbProducts.
My client wants to view all...
|
by: Zlatko Matiæ |
last post by:
There is a form (single form) and a combobox. I want that current record of
the form is adjusted according to selected value in the combobox. Cuurrent
record should be the same as the value in the combobox.
What is the solution?
Thank you in advance.
|
by: anonymous |
last post by:
I've been trying to put a them, please help me out.
Here's the major parts of my code:
public Form1()
{
DataSet myDataSet = new DataSet("myDataSet");
DataTable testTable = new DataTable("table");
testTable.Columns.Add("Col1", typeof(Int32));
testTable.Columns.Add("Col2", typeof(String));
testTable.Rows.Add(testTable.NewRow());
|
by: TT (Tom Tempelaere) |
last post by:
Hay there,
I'm writing my own DataGridComboBoxColumn because .NET 1.1 does not have one
(I hope .NET 2.0 supplies one). I based it on this article:
http://msdn.microsoft.com/msdnmag/issues/03/08/DataGrids/default.aspx
I have a problem when there are two DataGrid's on one form, and when I
switch focus from one grid to the other. To be more precise, when I'm editing
a combo box column in one grid, and then click in the combo column of...
| |
by: Don |
last post by:
I've looked high and low for some code that will allow me to have a combobox
with a flat borderstyle. I found a few examples, but nothing that was
really usable for me. I had the following criteria that I wanted to meet,
but nothing did:
- No reliance on a separate library
- No unmanaged code
- Easy subclassing of System.Windows.Forms.Combobox (i.e. no custom control
monstrosity)
- No extra funky features that I didn't need
|
by: jon f kaminsky |
last post by:
Hi-
I've seen this problem discussed a jillion times but I cannot seem to
implement any advice that makes it work. I am porting a large project from
VB6 to .NET. The issue is using the combo box bound to a table as a lookup,
drawing values from another table to populate the available selections. This
all worked fine in VB6.
I have distilled the problem down to a simple form drawing data from the
Northwind database for a representative...
|
by: dbuchanan |
last post by:
VS2005
I've been reading all the help I can on the topic (MSDN, other) but I
can't make sense of this.
Desired behavior;
The user is to choose from the displayed list of the databound combobox
and the coresponding 'Id' from the lookup table is to be inserted into
the field of the new record.
I have two simple tables. "tblPerson" is the data table. The lookup
|
by: polocar |
last post by:
Ciao a tutti,
leggendo qua e là per il forum ho scoperto che non sono l'unico ad
avere questo problema.
Se si inserisce un controllo ComboBox in un form di C#, non è
possibile impostare la sua altezza ad un valore diverso da 21. Forse,
cambiando la dimensione del font, si potrebbe riuscire a cambiare anche
l'impostazione dell'altezza... (MS farebbe comunque meglio ad
introdurre per il ComboBox una proprietà AutoSize impostabile a
"false"...
|
by: Rich |
last post by:
Hello,
I have a search application to search data in tables in a database (3 sql
server tables). I populate 2 comboboxes with with data from each table. One
combobox will contain unique CompanyID's. The second combobox will contain
unique memberID's. Each of the tables that I have to search contain a
CompanyID and a memberID field, and these fields are not unique in the
respective tables. Like
CompanyID, MemberID
|
by: Hystou |
last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it.
First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
| |
by: Oralloy |
last post by:
Hello folks,
I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>".
The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed.
This is as boiled down as I can make it.
Here is my compilation command:
g++-12 -std=c++20 -Wnarrowing bit_field.cpp
Here is the code in...
|
by: jinu1996 |
last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth.
The Art of Business Website Design
Your website is...
|
by: Hystou |
last post by:
Overview:
Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
|
by: tracyyun |
last post by:
Dear forum friends,
With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
|
by: agi2029 |
last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own....
Now, this would greatly impact the work of software developers. The idea...
|
by: isladogs |
last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 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 a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules.
He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms.
Adolph will...
| |
by: TSSRALBI |
last post by:
Hello
I'm a network technician in training and I need your help.
I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs.
The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols.
I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
|
by: 6302768590 |
last post by:
Hai team
i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
| |