Xojo Developer Conference
25/27th April 2018 in Denver.
MBS Xojo Conference
6/7th September 2018 in Munich, Germany.

MenuHandler in Class always fires first (before App or Window) (Real Studio network user group Mailinglist archive)

Back to the thread list
Previous thread: Re: Alternate Control Color Combinations?
Next thread: Re: MBS Plugin - Quicktime Movie glitch/pause in playback under Windows


Win32 API Declares   -   Berg, Heath
  MenuHandler in Class always fires first (before App or Window)   -   Emile Schwarz
   Re: MenuHandler in Class always fires first (before App or Window)   -   Arnaud Nicolet
   Re: MenuHandler in Class always fires first (before App or Window)   -   Terry Ford

MenuHandler in Class always fires first (before App or Window)
Date: 01.08.06 17:08 (Tue, 01 Aug 2006 18:08:57 +0200)
From: Emile Schwarz
Hi,

REALbasic 2006 Release 3
Actually Windows XP (can happens on Mac OS X, but I have doubts)

For long forgotten reasons, I have a FileOpen Event Handler in an
EditField SubClass. I didn't place "Return True" at the end of the code
there.

I have some code in App and Window FileOpen MenuHandler (and have one
"Return True" there).

Once I added "Return True" in the EditField SubClass, I do not get two
Open dialogs / two windows with twice the same file (or two different
depending on what I do with the Open dialog).

Is it intended behavior (that a SubClass is first in the Menu Handler
Events line) ?

Is this behavior documented somewhere (if yes, where ?) ?

Thanks,

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

Search the archives of this list here:
<http://support.realsoftware.com/listarchives/lists.html>

Re: MenuHandler in Class always fires first (before App or Window)
Date: 02.08.06 20:54 (Wed, 2 Aug 2006 21:54:57 +0200)
From: Arnaud Nicolet

Le 1 août 06 à 18:08 Soir, Emile Schwarz a écrit :

> Hi,
>
> REALbasic 2006 Release 3
> Actually Windows XP (can happens on Mac OS X, but I have doubts)
>
> For long forgotten reasons, I have a FileOpen Event Handler in an
> EditField SubClass. I didn't place "Return True" at the end of the
> code there.
>
> I have some code in App and Window FileOpen MenuHandler (and have
> one "Return True" there).
>
> Once I added "Return True" in the EditField SubClass, I do not get
> two Open dialogs / two windows with twice the same file (or two
> different depending on what I do with the Open dialog).
>
> Is it intended behavior (that a SubClass is first in the Menu
> Handler Events line) ?
>
> Is this behavior documented somewhere (if yes, where ?) ?

Yes, in the RealBasic Users Guide (for the 5.5 version, around page
250)._______________________________________________
Unsubscribe or switch delivery mode:
<http://www.realsoftware.com/support/listmanager/>

Search the archives of this list here:
<http://support.realsoftware.com/listarchives/lists.html>

Re: MenuHandler in Class always fires first (before App or Window)
Date: 02.08.06 23:58 (Wed, 02 Aug 2006 15:58:18 -0700)
From: Terry Ford

On Aug 2, 2006, at 12:54 PM, Arnaud Nicolet wrote:

>
> Le 1 août 06 à 18:08 Soir, Emile Schwarz a écrit :
>
>> Hi,
>>
>> REALbasic 2006 Release 3
>> Actually Windows XP (can happens on Mac OS X, but I have doubts)
>>
>> For long forgotten reasons, I have a FileOpen Event Handler in an
>> EditField SubClass. I didn't place "Return True" at the end of the
>> code there.
>>
>> I have some code in App and Window FileOpen MenuHandler (and have
>> one "Return True" there).
>>
>> Once I added "Return True" in the EditField SubClass, I do not get
>> two Open dialogs / two windows with twice the same file (or two
>> different depending on what I do with the Open dialog).
>>
>> Is it intended behavior (that a SubClass is first in the Menu
>> Handler Events line) ?
>>
>> Is this behavior documented somewhere (if yes, where ?) ?
>
> Yes, in the RealBasic Users Guide (for the 5.5 version, around page
> 250).

This has changed. See: Jon Johnson)

<http://support.realsoftware.com/listarchives/realbasic-nug/2006-07/
msg01342.html>

for the latest order.

Terry

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

Search the archives of this list here:
<http://support.realsoftware.com/listarchives/lists.html>