473,320 Members | 2,071 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,320 software developers and data experts.

Which events are raised for a button

If I have a button for example on a form, is there a way that I can spy on
which .Net events etc are being raised as I move over the button with the
cursor, click on the button, leave input focus etc. The documentation tells
me what they are but often I find I am trapping the wrong event, or that it
didn't behave as expected.

What I want is, for example, to move my cursor over a button and 'see' in
another window that mouseenter event be fired, see the mouseleave, click,
mouseup, hover ... etc. I want to same utility to work for Forms, Scrollbars
etc. If there such a tool?

I have looked at "Spy" which comes with .Net 2003 but it seems to be for
Windows messages, not .Net events.

Pete

Nov 20 '05 #1
1 1248
"Peter Sulikowski" <an**@anon.com> schrieb
If I have a button for example on a form, is there a way that I can
spy on which .Net events etc are being raised as I move over the
button with the cursor, click on the button, leave input focus etc.
The documentation tells me what they are but often I find I am
trapping the wrong event, or that it didn't behave as expected.

What I want is, for example, to move my cursor over a button and
'see' in another window that mouseenter event be fired, see the
mouseleave, click, mouseup, hover ... etc. I want to same utility to
work for Forms, Scrollbars etc. If there such a tool?

I have looked at "Spy" which comes with .Net 2003 but it seems to be
for Windows messages, not .Net events.


..Net events - at least Mouseenter and so on - are fired when receiving
windows mesages.
--
Armin

Nov 20 '05 #2

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

Similar topics

8
by: CJack | last post by:
hy, I have an mdi application, i create a child form and I want to know when a button is pressed while that child form is loaded. I have this code: private void frmTestBaby_KeyUp(object sender,...
4
by: Roberto López | last post by:
Hello, I´m trying to do a progress page that indicates some visual information to the user in a long directory copy process. I have a Class that copys directories from one location to other. The...
3
by: Solel Software | last post by:
Hi, I have a user control embedded in another user control that is embedded in a web form Page.aspx < Module.ascx < ProblemHere.ascx In ProblemHere.ascx I have a regular <asp:Button and a ...
1
by: ltt19 | last post by:
Hi Folks, I'm just beggining with asp.net, and I'm doing a webpage to learn it. In the main page, there is a text by default written in Portuguese, that the user can change it it English by...
1
by: Martin | last post by:
Hi, I have been having trouble rasing events in my custom (composite) server controls. To demonstate my problem I put a small control together with a single button on it and included the code...
1
by: Neil Jarman | last post by:
Hi, I'm new to this today, and I've got some test code (see below.) The data loads fine. I can't understand why any of the events fire. Once the page loads, clicking on thew button from the...
0
by: John Dann | last post by:
I have 3 option buttons in a groupbox container and have been trapping the checkchanged event separately for each. But a change in just one option seems to raise 3 events - on reflection I could...
1
by: steve | last post by:
Hi All Can anybody advise me what windows events are triggered when a touch screen is used? e.g if a button is touched does the click event still get raised, does the mouse_click event get...
1
by: Dave A | last post by:
I have a problem that I have boiled down to a very simple example. I have a user control that displays a some data from a business object. On one screen I have a collection of these business...
0
by: DolphinDB | last post by:
The formulas of 101 quantitative trading alphas used by WorldQuant were presented in the paper 101 Formulaic Alphas. However, some formulas are complex, leading to challenges in calculation. Take...
0
by: DolphinDB | last post by:
Tired of spending countless mintues downsampling your data? Look no further! In this article, you’ll learn how to efficiently downsample 6.48 billion high-frequency records to 61 million...
0
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
1
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: Vimpel783 | last post by:
Hello! Guys, I found this code on the Internet, but I need to modify it a little. It works well, the problem is this: Data is sent from only one cell, in this case B5, but it is necessary that data...
0
by: jfyes | last post by:
As a hardware engineer, after seeing that CEIWEI recently released a new tool for Modbus RTU Over TCP/UDP filtering and monitoring, I actively went to its official website to take a look. It turned...
0
by: ArrayDB | last post by:
The error message I've encountered is; ERROR:root:Error generating model response: exception: access violation writing 0x0000000000005140, which seems to be indicative of an access violation...
0
by: Defcon1945 | last post by:
I'm trying to learn Python using Pycharm but import shutil doesn't work
0
by: af34tf | last post by:
Hi Guys, I have a domain whose name is BytesLimited.com, and I want to sell it. Does anyone know about platforms that allow me to list my domain in auction for free. Thank you

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.