New topic: TabPanels via code
<http://forums.realsoftware.com/viewtopic.php?t=40848> Page 1 of 1 [ 2 posts ] Previous topic | Next topic Author Message RicSum Post subject: TabPanels via codePosted: Mon Oct 03, 2011 7:38 am Joined: Fri Jun 05, 2009 4:54 pm Posts: 68 Hi, Is it possible to make tabs active / inactive / visible / invisible via code? For example: if Text_Status2.text = "Yes" then Tab6.Enabled = True else Tab6.Enabled = False Something along those lines. I only want certain tabs to be active (or visible) when an administrator logs in. Thanks. P.S Just to clarify - I only want certain tabs made inactive, not the entire TabPanel. _________________ RealStudio Professional Edition 2011 Release3 Developing on OS X 10.5.8 Deploying on Windows XP / 7 Top Bob Keeney Post subject: Re: TabPanels via codePosted: Mon Oct 03, 2011 10:42 am Joined: Fri Sep 30, 2005 11:48 am Posts: 2665 Location: Lenexa, KS AFAIK, the only way to make an individual tabs visible, enabled or not is to use the MonkeyBread Software plugin. I do NOT know if their solution is cross-platform or not. An alternative is to use page panels with UI that handles all that. One such solution is the Custom TabPanel control found at http://homepage.mac.com/alexrestrepo/indexmain.html. _________________ Bob K. 30+ hours of Real Studio Video Training (including over 6 hours of Web Edition) at http://www.bkeeney.com/ Real Studio Consulting http://www.bkeeney.com/consulting/real-studio-consulting BKeeney Briefs Blog For Real Studio Developers http://www.bkeeneybriefs.com/ 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]
