New topic: Toolbutton selection
<http://forums.realsoftware.com/viewtopic.php?t=47306> Page 1 of 1 [ 2 posts ] Previous topic | Next topic Author Message Dale Post subject: Toolbutton selectionPosted: Sat Mar 16, 2013 6:38 pm Joined: Thu Mar 01, 2007 2:02 pm Posts: 229 Location: Sunny (generally!) Southern California I have a toolbar on the app I'm working on and I have the button styles as pushbuttons. I want to change them to toggles (no problem) but I want to have them toggle off when another button is clicked. I can't seem to find the magic syntax to address the particular button in such a way as to 'unpush' it. The toolbar is created in the IDE rather than by code. Any help would be appreciated. - Dale _________________ ----- Real Studio 2012r1 on Windows 7 (64 bit) ----- It has been said that politics is the second oldest profession. I have learned that it bears a striking resemblance to the first. - Ronald Reagan Top Stuart J Sykes Post subject: Re: Toolbutton selectionPosted: Sat Mar 16, 2013 10:35 pm Joined: Fri Oct 26, 2012 6:24 am Posts: 69 If you mean you want some buttons to be disabled in the toolbar then: MainToolbar1.MyButton.enabled = false You can set the attribute of a toggle button to 'pushed' if necessary in the toolbar property panel. This thread may help with "unpush": viewtopic.php?f=1&t=11745 _________________ Stuart J Sykes - www.real-soft.co.uk Mountain Lion 10.8.2 (Real Studio 2012 2.1) Top Display posts from previous: All posts1 day7 days2 weeks1 month3 months6 months1 year Sort by AuthorPost timeSubject AscendingDescending Page 1 of 1 [ 2 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]
