New topic: 

Making a graphic "clickable".

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

         Page 1 of 1
   [ 3 posts ]                 Previous topic | Next topic          Author  
Message        newyorkpaulie          Post subject: Making a graphic 
"clickable".Posted: Sun Sep 02, 2012 8:29 am                         
Joined: Sat Dec 30, 2006 6:52 pm
Posts: 111
Location: New York City                I wrote a video poker game that deals 5 
cards. How can I make the cards clickable?  Right now I am using a radio button 
below each card but would prefer the card graphic itself to be chosen by a 
click. Thanks.  

BTW, my email has been changed to [email protected], but for some reason 
when I try to change it I get "not_customer" in red...  I could use some help 
with this conundrum too!  I've emailed one of the administrators about this.   
                             Top                DaveS          Post subject: 
Re: Making a graphic "clickable".Posted: Sun Sep 02, 2012 9:19 am               
                  
Joined: Sun Aug 05, 2007 10:46 am
Posts: 4067
Location: San Diego, CA                MOUSEDOWN?      
_________________
Dave Sisemore
MacPro, OSX 10.7.3 RB2011r3
Note : I am not  interested in any solutions that involve custom Plug-ins of 
any kind  
                             Top                ktekinay          Post subject: 
Re: Making a graphic "clickable".Posted: Sun Sep 02, 2012 9:31 am               
                  
Joined: Mon Feb 05, 2007 5:21 pm
Posts: 196
Location: New York, NY                In the MouseDown event, return true. In 
MouseUp, check to see where the mouse came up and react accordingly. Note that 
a proper "click" should happen in the MouseUp, not MouseDown, event so the user 
will have a chance to change his mind and move away without consequence. Also 
note that MouseUp will not fire unless you return true in MouseDown.      
_________________
Kem Tekinay
MacTechnologies Consulting
http://www.mactechnologies.com/

Need to develop, test, and refine regular expressions? Try RegExRX.
  
                             Top             Display posts from previous: All 
posts1 day7 days2 weeks1 month3 months6 months1 year Sort by AuthorPost 
timeSubject AscendingDescending          Page 1 of 1
   [ 3 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