Event Fireing order

  • Thread starter Thread starter Mark
  • Start date Start date
Mark said:
Does anyone know the Visual Basic .NET event fireing order?

The one that is fired first can be handled first.

There are hundreds or thousands of events. Which ones do you refer to?


Armin
 
Hello Mark,
Does anyone know the Visual Basic .NET event fireing order?


You're going to have to be more specific.

Winforms? ASP.Net? Any particular control's events

Which version of the .Net framework 1.0, 1.1, 2.0/3.0/3.5 ?
 
Mark,
Couldn't guess what you mean by order but event's are fired when they
can be triggered and instantiated by an object and anything such as
user input / interaction at any time.
 
Mark,

I assume that you mean that it is the control firing event order.

I got this from messages from Jeffrey Tan and Peter Wu,

Focus events occur in the following order:

1. Enter
2. GotFocus
3. Leave
4. Validating
5. Validated
6. LostFocus


Cor



or
 
It is my understanding that the order also depends on whether the last
control was "left" by tabbing or by clicking somewhere, which changes the
order!
 
Add a trace to those events you are interested and you'll be able to see in
which order they are fired...
 
Back
Top