New topic: 

return true in mouse down

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

       Page 1 of 1
   [ 1 post ]                 Previous topic | Next topic         Author  
Message       vkozme           Post subject: return true in mouse downPosted: 
Fri Oct 23, 2009 1:36 pm                        
Joined: Fri Oct 21, 2005 7:51 pm
Posts: 187              Hi, guys,
I am working on creating custom buttons using Canvas. To make it change 
backdrop when the mouse is pressed, I have put another image into me.Backdrop 
property and then in the next line I have put "return true" (without the return 
true it will not work).
In the mouse up I have put the code that will be executed when the mouse is 
released. Everything works just fine.
I am curious what does the "return true" do in this case? I would like to 
better understand what I am doing. For right now, I just know how to make 
things happen but a lot of theory that is behind this is lacking.
Any help or comments?
Thank you.
vkozme   
                            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