Does anyone know the Visual Basic .NET event fireing order?
--
Mark

Re: Event Fireing order by Rory

Rory
Fri Mar 14 16:58:00 CDT 2008

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 ?

--
Ror



Re: Event Fireing order by Armin

Armin
Fri Mar 14 16:51:19 CDT 2008

"Mark" <Mark@discussions.microsoft.com> schrieb
> 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



Re: Event Fireing order by Herfried

Herfried
Fri Mar 14 17:07:38 CDT 2008

"Mark" <Mark@discussions.microsoft.com> schrieb:
> Does anyone know the Visual Basic .NET event fireing order?

What exactly do you want to know?

--
M S Herfried K. Wagner
M V P <URL:http://dotnet.mvps.org/>
V B <URL:http://dotnet.mvps.org/dotnet/faqs/>

Re: Event Fireing order by kimiraikkonen

kimiraikkonen
Fri Mar 14 18:54:09 CDT 2008

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.

Re: Event Fireing order by Cor

Cor
Sat Mar 15 07:12:59 CDT 2008

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

"Mark" <Mark@discussions.microsoft.com> schreef in bericht
news:54F96783-097E-451F-96A5-2FDF5C92EDAC@microsoft.com...
> Does anyone know the Visual Basic .NET event fireing order?
> --
> Mark


Re: Event Fireing order by TerryL

TerryL
Sat Mar 15 13:34:00 CDT 2008

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!
--
Terry


"Cor Ligthert[MVP]" wrote:

> 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
>
> "Mark" <Mark@discussions.microsoft.com> schreef in bericht
> news:54F96783-097E-451F-96A5-2FDF5C92EDAC@microsoft.com...
> > Does anyone know the Visual Basic .NET event fireing order?
> > --
> > Mark
>
>

Re: Event Fireing order by Patrice

Patrice
Mon Mar 17 07:25:12 CDT 2008

Add a trace to those events you are interested and you'll be able to see in
which order they are fired...

--
Patrice

"Mark" <Mark@discussions.microsoft.com> a écrit dans le message de news:
54F96783-097E-451F-96A5-2FDF5C92EDAC@microsoft.com...
> Does anyone know the Visual Basic .NET event fireing order?
> --
> Mark