New topic: 

Buttons click event

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

         Page 1 of 1
   [ 4 posts ]                 Previous topic | Next topic          Author  
Message        Stuart J Sykes          Post subject: Buttons click eventPosted: 
Fri Nov 02, 2012 4:22 pm                         
Joined: Fri Oct 26, 2012 6:24 am
Posts: 12                How do i tell a BevelButton1 to execute BevelButton2 
click event (action)?
Or in fact any control to execute a different controls action   
                             Top                DaveS          Post subject: 
Re: Buttons click eventPosted: Fri Nov 02, 2012 4:33 pm                         
        
Joined: Sun Aug 05, 2007 10:46 am
Posts: 4215
Location: San Diego, CA                put the CODE in a procedure of its own.


Have both buttons call that subroutine when you click either button

It is bad form to attempt to have one control activate events on another control

OR  make a control array.. where both buttons are members.. then they can share 
the same click event.      
_________________
Dave Sisemore
MacPro, OSX Lion 10.7.4 RB2012r1
Note : I am not  interested in any solutions that involve custom Plug-ins of 
any kind  
                             Top                Stuart J Sykes          Post 
subject: Re: Buttons click eventPosted: Sat Nov 03, 2012 7:35 am                
         
Joined: Fri Oct 26, 2012 6:24 am
Posts: 12                Thanks DaveS - Procedure it is!
I'm assuming you mean create a METHOD in the window list   
                             Top                DaveS          Post subject: 
Re: Buttons click eventPosted: Sat Nov 03, 2012 9:57 am                         
        
Joined: Sun Aug 05, 2007 10:46 am
Posts: 4215
Location: San Diego, CA                Yes.... procedure, method, subroutine 

I use so many different languages I sometimes blur my nomenclature     
_________________
Dave Sisemore
MacPro, OSX Lion 10.7.4 RB2012r1
Note : I am not  interested in any solutions that involve custom Plug-ins of 
any kind  
                             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