New topic: 

Mouse Up Not working

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

       Page 1 of 1
   [ 4 posts ]                 Previous topic | Next topic         Author  
Message       TChapman           Post subject: Mouse Up Not workingPosted: Mon 
Aug 24, 2009 12:39 pm                        
Joined: Thu Oct 19, 2006 5:14 pm
Posts: 135              Can anyone suggest a reason and workaround why mouse 
down works fine, mouse enter works fine, mouse exit is fine, but mouse up does 
not work?

I am trying to create some custom buttons out of a canvas, using different 
methods including dual canvas stacked up, where mouse down makes one dissapear 
(visible). 

Another method of 

mousedown
 me.backdrop = graphic1

mouseup
 me.backdrop = graphic2


Every other mouse trick works great except mouse up to swap out the graphic 
creating my own animated buttons.   
                            Top                Steve Garman           Post 
subject: Re: Mouse Up Not workingPosted: Mon Aug 24, 2009 12:44 pm              
                 
Joined: Fri Sep 30, 2005 3:53 pm
Posts: 2931
Location: England              MouseUp won't fire unless you Code:Return True 
in MouseDown     
_________________
Steve Garman
Using REALbasic 2008r2 Professional on Windows Vista Ultimate
and REALbasic 2009r3 Professional on Linux Ubuntu 9.04 Desktop
Occasional blog  
                            Top               TChapman           Post subject: 
Re: Mouse Up Not workingPosted: Mon Aug 24, 2009 12:54 pm                       
 
Joined: Thu Oct 19, 2006 5:14 pm
Posts: 135              Code:mousedown
me.backdrop = graphic1
return true

mouseup
me.backdrop = graphic2





Ok thanks, I tried this and still no luck yet.   
                            Top                TChapman           Post subject: 
Re: Mouse Up Not workingPosted: Mon Aug 24, 2009 2:32 pm                        
Joined: Thu Oct 19, 2006 5:14 pm
Posts: 135              My mistake, that works great.  

Thanks!   
                            Top            Display posts from previous: All 
posts1 day7 days2 weeks1 month3 months6 months1 year Sort by AuthorPost 
timeSubject AscendingDescending          Page 1 of 1
   [ 4 posts ]     
-- 
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