Other than buttons, most controls in VB.NET have their
MouseDown event run slow (and I believe this also happened
in VB 6.0). The MouseUp event can keep up with the rate at
which a mouse button is let up, while the MouseDown event
runs about twice per second, max... this also impacts the
Click event (since it works with mouse down), so it also
runs at about twice per second max. This doesn't happen
for button controls, but with other controls like
labels/panels/Pictureboxes/Form surface/UserControls
this "lag" occurs. Since I am trying to make a custom
button with a user control this is going to be a problem.
Is there a way to fix this? Is anyone else getting this
lag?
I check if this happens in C# but it does not. I figure
it's the way the mouse down event is executed by VB. If
this can't be fixed I'll just switch over to C#, no biggy.
Thanks 2 1871
Hi Ivan,
There is a possibility you have some errors in your code, because C# and
VB.net should make the same ILS code from it.
If you did not do it, set option strict on in your VB.net programma, you
have maybe some late bindings in your own build VB.net controls and that
makes it than slow.
Just an idea
Cor Other than buttons, most controls in VB.NET have their MouseDown event run slow (and I believe this also happened in VB 6.0). The MouseUp event can keep up with the rate at which a mouse button is let up, while the MouseDown event runs about twice per second, max... this also impacts the Click event (since it works with mouse down), so it also runs at about twice per second max. This doesn't happen for button controls, but with other controls like labels/panels/Pictureboxes/Form surface/UserControls this "lag" occurs. Since I am trying to make a custom button with a user control this is going to be a problem. Is there a way to fix this? Is anyone else getting this lag?
I check if this happens in C# but it does not. I figure it's the way the mouse down event is executed by VB. If this can't be fixed I'll just switch over to C#, no biggy.
Hi,
I think the speed that these events fire has something to
do with the speed you have your mouse double click set in
control panel..
Might be worth having a look at this..
Cheers -----Original Message----- Other than buttons, most controls in VB.NET have their MouseDown event run slow (and I believe this also
happenedin VB 6.0). The MouseUp event can keep up with the rate
atwhich a mouse button is let up, while the MouseDown
eventruns about twice per second, max... this also impacts
theClick event (since it works with mouse down), so it also runs at about twice per second max. This doesn't happen for button controls, but with other controls like labels/panels/Pictureboxes/Form surface/UserControls this "lag" occurs. Since I am trying to make a custom button with a user control this is going to be a
problem.Is there a way to fix this? Is anyone else getting this lag?
I check if this happens in C# but it does not. I figure it's the way the mouse down event is executed by VB. If this can't be fixed I'll just switch over to C#, no
biggy. Thanks . This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics
by: Vaddina Prakash Rao |
last post by:
Hi all .. I describe here a wierd behaviour .. i dont understand why
... This could be very stupid aswell .. so please bear me ..
I have been writing a program to accept multiple parameters and...
|
by: paul reed |
last post by:
Hello,
I am having some weird behavior between two machines...one
which is running the 1.1 framework and one which is
running 1.0. After opening a child form from a parent...I
update the...
|
by: R Millman |
last post by:
under ASP.NET, single stepping in debug mode appears not
to stop within event procedures. i.e. 1) Create web page
with submit button and event procedure for the click
event in the code behind...
|
by: Shane Bishop |
last post by:
I've been fighting with the Page_Load event firing twice.
I looked through this user group and saw several other people having
similar problems.
There were various reasons for it:...
|
by: Spam Trap |
last post by:
I am upgrading from VB6 where I had access to a treeview NodeClick event
(see below)... but now VB.NET does not have this any more.
Private Sub TreeView1_NodeClick(ByVal Node As MSComctlLib.Node)...
|
by: SStory |
last post by:
I am trying to make a splash screen for my vb.net app.
It is an mdi app.
including the splash code produces wierd results.
not inluding makes things fine.
Also have tried loading the splash...
|
by: Tom |
last post by:
Here is a very strange problem that I am stumped by. I have a rather large
application written in VB.NET (of course) using Framework 1.1. As you know,
with an MDI application you can have multiple...
|
by: Ivan D |
last post by:
Other than buttons, most controls in VB.NET have their
MouseDown event run slow (and I believe this also happened
in VB 6.0). The MouseUp event can keep up with the rate at
which a mouse button is...
|
by: CSGeach |
last post by:
Hello all
In VB6, if you referred to a property or a some property of a control
of an unloaded form, it caused a form_load, and fired the Form_Load event.
I have a lot of code that depends on...
|
by: emmanuelkatto |
last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud.
Please let me know.
Thanks!
Emmanuel
|
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: nemocccc |
last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
|
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...
|
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,...
|
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...
|
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...
|
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,...
|
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...
| |