473,473 Members | 2,309 Online
Bytes | Software Development & Data Engineering Community
Create Post

Home Posts Topics Members FAQ

My combo boxes does not respond to doubleclick...

Hi
I have a form with some comboboxes

My problem is that they don't react on my doubleclick event.
I doubleclick in the textbox part of the combo. And nothing happens.
They react on selectedindexchanged and click events.
It does not make any difference whether I use Simple, drop down or drop down
list in the DropDownStyle property.

Private Sub ComboBox1_DoubleClick(ByVal sender As Object, ByVal e As
System.EventArgs) Handles ComboBox1.DoubleClick
MsgBox("2 clicks")

End Sub

And it is not because I doubleclick too slow. Doubleclick events work fine
on other controls.

Best regards

Jan Nielsen

Nov 20 '05 #1
2 1264
* "Jan Nielsen" <Re**************@tiscali.dk> scripsit:
I have a form with some comboboxes

My problem is that they don't react on my doubleclick event.
I doubleclick in the textbox part of the combo. And nothing happens.
They react on selectedindexchanged and click events.
It does not make any difference whether I use Simple, drop down or drop down
list in the DropDownStyle property.

Private Sub ComboBox1_DoubleClick(ByVal sender As Object, ByVal e As
System.EventArgs) Handles ComboBox1.DoubleClick
MsgBox("2 clicks")


In my VS.NET the 'DoubleClick' event doesn't show up for comboboxes.

--
Herfried K. Wagner
MVP · VB Classic, VB.NET
<http://www.mvps.org/dotnet>
Nov 20 '05 #2
Strange!
Well I'll just have to make a context menu instead.

Thanks!

Jan
"Herfried K. Wagner [MVP]" <hi***************@gmx.at> skrev i en meddelelse
news:bn************@ID-208219.news.uni-berlin.de...
* "Jan Nielsen" <Re**************@tiscali.dk> scripsit:
I have a form with some comboboxes

My problem is that they don't react on my doubleclick event.
I doubleclick in the textbox part of the combo. And nothing happens.
They react on selectedindexchanged and click events.
It does not make any difference whether I use Simple, drop down or drop down list in the DropDownStyle property.

Private Sub ComboBox1_DoubleClick(ByVal sender As Object, ByVal e As
System.EventArgs) Handles ComboBox1.DoubleClick
MsgBox("2 clicks")


In my VS.NET the 'DoubleClick' event doesn't show up for comboboxes.

--
Herfried K. Wagner
MVP · VB Classic, VB.NET
<http://www.mvps.org/dotnet>

Nov 20 '05 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

1
by: FZ | last post by:
Hi Gang, I was wondering if a generous person might be able to walk me through what I believe is a pretty simple task. I actually have significant Access experience, but I haven't done it in...
0
by: Krisa | last post by:
Hello all, I just discovered something (stop me if you've heard this before....) that was causing me a significant performance hit when opening a form with subforms. To speed up loading the...
1
by: Robert Neville | last post by:
The solution to my dilemma seems straight-forward, yet my mind has not been forthcoming with a direct route. My Project form has a tab control with multiple sub-forms; these distinct sub-forms...
4
Rabbit
by: Rabbit | last post by:
Cascading Combo/List Boxes This tutorial is to guide you in the creation of Cascading combo/list boxes. That is when you have multiple combo/list boxes where the selection of an option in one...
5
by: Farhaad Faaique | last post by:
Dear All, I have two tables i.e States and Cities and it has a one to many relationship as one state has many cities. Now, when i make a form and create two combo boxes for states and cities...
6
by: Dave | last post by:
I want to put the information that the user selects in my combo boxes into a subform that lies on the same form as the combo boxes. Thanks for your help already, Dave
0
by: Dawnyy | last post by:
I have a form which is bound to a dataset. I am filling the forms dataset on Form_Load event. On my form I have combo boxes which I am setting by running a stored procedure to return a datatable,...
4
by: Karl | last post by:
Using A2000 with 2 tables Table 1 is a reference table with 2 fields Table 2 has 2 fields and 2 combo boxes to lookup date in table 1 Combo1 binds to col 1 in table 1, this works OK Combo 2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
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...
0
jinu1996
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...
0
tracyyun
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...
0
agi2029
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,...
1
isladogs
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...
0
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
0
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 ...
1
muto222
php
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.