Xojo Conferences
XDCMay2019MiamiUSA

Events execution... Firing order... (Real Studio network user group Mailinglist archive)

Back to the thread list
Previous thread: DrawInto issues with Composite windows
Next thread: SMTP Socket Errors


Reading *CSV Files versus *.Txt Files   -   Claude Stone
  Events execution... Firing order...   -   Giovanni
   Re: Events execution... Firing order...   -   Tom Benson
   Re: Events execution... Firing order...   -   Tom Benson
   Re: Events execution... Firing order...   -   Arnaud Nicolet
   Re: Events execution... Firing order...   -   Giovanni
   Re: Events execution... Firing order...   -   Giovanni

Events execution... Firing order...
Date: 27.01.09 10:06 (Tue, 27 Jan 2009 01:06:07 -0800)
From: Giovanni
Hello Guys and Gals,

Whats the firing order for events for RB?

App Events
Window Events
Private Control Events

I would like to know what gets fired first, second,...

Any thoughts?

Kind regards,

Giovanni
<email address removed>


_______________________________________________
Unsubscribe or switch delivery mode:
<http://www.realsoftware.com/support/listmanager/>

Search the archives:
<http://support.realsoftware.com/listarchives/lists.html>

Re: Events execution... Firing order...
Date: 21.01.09 12:26 (Wed, 21 Jan 2009 11:26:16 +0000)
From: Tom Benson
varies by platform and by operating system version.

Never rely on event execution order, except for maybe Triggered events
(MouseDown->MouseDrag->MouseUp, MouseEnter->MouseOver->MouseExit, ,
KeyDown->KeyUp etc.)

Cheers,
Tom

On 27/01/2009, at 9:06 AM, Giovanni wrote:

> Hello Guys and Gals,
>
> Whats the firing order for events for RB?
>
> App Events
> Window Events
> Private Control Events
>
> I would like to know what gets fired first, second,...
>
> Any thoughts?
>
> Kind regards,
>
> Giovanni
> <email address removed>
> _______________________________________________
> Unsubscribe or switch delivery mode:
> <http://www.realsoftware.com/support/listmanager/>
> Search the archives:
> <http://support.realsoftware.com/listarchives/lists.html>

_______________________________________________
Unsubscribe or switch delivery mode:
<http://www.realsoftware.com/support/listmanager/>

Search the archives:
<http://support.realsoftware.com/listarchives/lists.html>

Re: Events execution... Firing order...
Date: 21.01.09 12:50 (Wed, 21 Jan 2009 11:50:38 +0000)
From: Tom Benson
Maybe, maybe not. But there is a work around.

make sure App.defaultWindow is set to none.
make sure that Window.implicitInstance is set to false for all of your
windows

Now you can pretty much guarantee that your App Events are going to
fire first, and handle which window loads where and when...

- Tom

On 27/01/2009, at 11:38 AM, Giovanni wrote:

> I have a project and need to have a initiallisation module that sets
> many functions like what window to load and when.
>
> does the App.events get looked at before the windows events?
>
> Kind regards,
>
> Giovanni
> <email address removed>
> On Jan 21, 2009, at 3:26 AM, Tom Benson wrote:
>
>> varies by platform and by operating system version.
>>
>> Never rely on event execution order, except for maybe Triggered
>> events (MouseDown->MouseDrag->MouseUp, MouseEnter->MouseOver-
>> >MouseExit, , KeyDown->KeyUp etc.)
>>
>> Cheers,
>> Tom
>>
>> On 27/01/2009, at 9:06 AM, Giovanni wrote:
>>
>>> Hello Guys and Gals,
>>>
>>> Whats the firing order for events for RB?
>>>
>>> App Events
>>> Window Events
>>> Private Control Events
>>>
>>> I would like to know what gets fired first, second,...
>>>
>>> Any thoughts?
>>>
>>>
>>> Kind regards,
>>>
>>> Giovanni
>>> <email address removed>
>>>
>>>
>>>
>>> _______________________________________________
>>> Unsubscribe or switch delivery mode:
>>> <http://www.realsoftware.com/support/listmanager/>
>>>
>>> Search the archives:
>>> <http://support.realsoftware.com/listarchives/lists.html>
>>
>> _______________________________________________
>> Unsubscribe or switch delivery mode:
>> <http://www.realsoftware.com/support/listmanager/>
>>
>> Search the archives:
>> <http://support.realsoftware.com/listarchives/lists.html>
> _______________________________________________
> Unsubscribe or switch delivery mode:
> <http://www.realsoftware.com/support/listmanager/>
> Search the archives:
> <http://support.realsoftware.com/listarchives/lists.html>

_______________________________________________
Unsubscribe or switch delivery mode:
<http://www.realsoftware.com/support/listmanager/>

Search the archives:
<http://support.realsoftware.com/listarchives/lists.html>

Re: Events execution... Firing order...
Date: 27.01.09 11:38 (Tue, 27 Jan 2009 11:38:29 +0100)
From: Arnaud Nicolet
Le 27 janv. 09 à 10:06 (matin), Giovanni a écri::

> Hello Guys and Gals,
>
> Whats the firing order for events for RB?
>
> App Events
> Window Events
> Private Control Events
>
> I would like to know what gets fired first, second,...
>
> Any thoughts?

The main answer has always been "Don't assume an order will always be
the same. It can vary depending on the platform and other things.".
You can always use System.DebugLog "" to find out what event order are
applying to you, but you should not rely on that.
_______________________________________________
Unsubscribe or switch delivery mode:
<http://www.realsoftware.com/support/listmanager/>

Search the archives:
<http://support.realsoftware.com/listarchives/lists.html>

Re: Events execution... Firing order...
Date: 27.01.09 12:38 (Tue, 27 Jan 2009 03:38:13 -0800)
From: Giovanni
I have a project and need to have a initiallisation module that sets
many functions like what window to load and when.

does the App.events get looked at before the windows events?

Kind regards,

Giovanni
<email address removed>


On Jan 21, 2009, at 3:26 AM, Tom Benson wrote:

> varies by platform and by operating system version.
>
> Never rely on event execution order, except for maybe Triggered
> events (MouseDown->MouseDrag->MouseUp, MouseEnter->MouseOver-
> >MouseExit, , KeyDown->KeyUp etc.)
>
> Cheers,
> Tom
>
> On 27/01/2009, at 9:06 AM, Giovanni wrote:
>
>> Hello Guys and Gals,
>>
>> Whats the firing order for events for RB?
>>
>> App Events
>> Window Events
>> Private Control Events
>>
>> I would like to know what gets fired first, second,...
>>
>> Any thoughts?
>>
>> Kind regards,
>>
>> Giovanni
>> <email address removed>
>>
>> _______________________________________________
>> Unsubscribe or switch delivery mode:
>> <http://www.realsoftware.com/support/listmanager/>
>>
>> Search the archives:
>> <http://support.realsoftware.com/listarchives/lists.html>
> _______________________________________________
> Unsubscribe or switch delivery mode:
> <http://www.realsoftware.com/support/listmanager/>
> Search the archives:
> <http://support.realsoftware.com/listarchives/lists.html>

_______________________________________________
Unsubscribe or switch delivery mode:
<http://www.realsoftware.com/support/listmanager/>

Search the archives:
<http://support.realsoftware.com/listarchives/lists.html>

Re: Events execution... Firing order...
Date: 27.01.09 13:58 (Tue, 27 Jan 2009 04:58:35 -0800)
From: Giovanni
Excellent, Thanks.

Kind regards,

Giovanni
<email address removed>


On Jan 21, 2009, at 3:50 AM, Tom Benson wrote:

> Maybe, maybe not. But there is a work around.
>
> make sure App.defaultWindow is set to none.
> make sure that Window.implicitInstance is set to false for all of
> your windows
>
> Now you can pretty much guarantee that your App Events are going to
> fire first, and handle which window loads where and when...
>
> - Tom
>
> On 27/01/2009, at 11:38 AM, Giovanni wrote:
>
>> I have a project and need to have a initiallisation module that
>> sets many functions like what window to load and when.
>>
>> does the App.events get looked at before the windows events?
>>
>> Kind regards,
>>
>> Giovanni
>> <email address removed>
>>
>> On Jan 21, 2009, at 3:26 AM, Tom Benson wrote:
>>
>>> varies by platform and by operating system version.
>>>
>>> Never rely on event execution order, except for maybe Triggered
>>> events (MouseDown->MouseDrag->MouseUp, MouseEnter->MouseOver-
>>> >MouseExit, , KeyDown->KeyUp etc.)
>>>
>>> Cheers,
>>> Tom
>>>
>>> On 27/01/2009, at 9:06 AM, Giovanni wrote:
>>>
>>>> Hello Guys and Gals,
>>>>
>>>> Whats the firing order for events for RB?
>>>>
>>>> App Events
>>>> Window Events
>>>> Private Control Events
>>>>
>>>> I would like to know what gets fired first, second,...
>>>>
>>>> Any thoughts?
>>>>
>>>>
>>>> Kind regards,
>>>>
>>>> Giovanni
>>>> <email address removed>
>>>>
>>>>
>>>>
>>>> _______________________________________________
>>>> Unsubscribe or switch delivery mode:
>>>> <http://www.realsoftware.com/support/listmanager/>
>>>>
>>>> Search the archives:
>>>> <http://support.realsoftware.com/listarchives/lists.html>
>>>
>>>
>>> _______________________________________________
>>> Unsubscribe or switch delivery mode:
>>> <http://www.realsoftware.com/support/listmanager/>
>>>
>>> Search the archives:
>>> <http://support.realsoftware.com/listarchives/lists.html>
>>
>> _______________________________________________
>> Unsubscribe or switch delivery mode:
>> <http://www.realsoftware.com/support/listmanager/>
>>
>> Search the archives:
>> <http://support.realsoftware.com/listarchives/lists.html>
> _______________________________________________
> Unsubscribe or switch delivery mode:
> <http://www.realsoftware.com/support/listmanager/>
> Search the archives:
> <http://support.realsoftware.com/listarchives/lists.html>

_______________________________________________
Unsubscribe or switch delivery mode:
<http://www.realsoftware.com/support/listmanager/>

Search the archives:
<http://support.realsoftware.com/listarchives/lists.html>