New topic: 

Menu handler issue

<http://forums.realsoftware.com/viewtopic.php?t=47969>

         Page 1 of 1
   [ 1 post ]                 Previous topic | Next topic          Author  
Message        eliott          Post subject: Menu handler issuePosted: Sat May 
25, 2013 2:59 am                         
Joined: Sun Oct 17, 2010 9:46 am
Posts: 83
Location: Berlin, Germany                I have an issue with a menu handler. 
One is called MenuWindowClose, the other MenuWindowMinimize. The code is:Close()
Return True
and:Minimize()
Return True
Now "Close()" calls the event handler "Close" of the window instead of closing 
the window, "Minimize()" works as expected.

I need to put Self in front of Close(). This is of course a solution, though it 
slightly frightens me, that the behavior differs. Does it mean, if I want to be 
on the safe side, I should always put Self in front of each method call in any 
menu handler?   
                             Top             Display posts from previous: All 
posts1 day7 days2 weeks1 month3 months6 months1 year Sort by AuthorPost 
timeSubject AscendingDescending          Page 1 of 1
   [ 1 post ]      
-- 
Over 1500 classes with 29000 functions in one REALbasic plug-in collection. 
The Monkeybread Software Realbasic Plugin v9.3. 
http://www.monkeybreadsoftware.de/realbasic/plugins.shtml

[email protected]

Reply via email to