New topic: Hide an HTML viewer depending on what tab you're on
<http://forums.realsoftware.com/viewtopic.php?t=46051> Page 1 of 1 [ 3 posts ] Previous topic | Next topic Author Message dcj1978 Post subject: Hide an HTML viewer depending on what tab you're onPosted: Mon Nov 26, 2012 6:22 pm Joined: Wed Nov 21, 2012 3:16 pm Posts: 3 I'm trying to make an app that has a tab panel and each tab has a, HTMLViewer that opens a different page. I've already determined that I can't have them all visible because they overlap. So my question is, how would I make the program hide the other HTMLViewers when I'm on a tab? ie: I'm on tab 1, HTMLViewer1 should be visible but HTMLViewer2 and 3 would be hidden. I'm on tab 2, HTMLViewer2 should be visible but HTMLViewer1 and 3 would be hidden. I'm on tab 3, HTMLViewer3 should be visible but HTMLViewer1 and 2 would be hidden. Thanks in advance Top mauitom Post subject: Re: Hide an HTML viewer depending on what tab you're onPosted: Mon Nov 26, 2012 11:19 pm Joined: Thu Feb 16, 2006 10:04 pm Posts: 250 I don't use tab panels much, but wow this is terrible, this is really wonky in my test project. Buggy, buggy, buggy. The TabIndex property always reports 0. The only solution I can see in my very brief tests are to switch the build to Cocoa, that works like a charm here. You may want to just redesign and not use the tab panel ..... _________________ Thomas C. Real Studio Blog http://bigdaddysurf.com/blog/ http://itunes.apple.com/us/app/mrp-2012/id496160762?ls=1&mt=8 https://itunes.apple.com/us/book/how-to-waterstart/id576214730?mt=11 Top shaosean Post subject: Re: Hide an HTML viewer depending on what tab you're onPosted: Tue Nov 27, 2012 1:29 am Joined: Mon Aug 15, 2011 10:25 pm Posts: 228 Place the HTMLViewers in the Tab container and they automatically hide and show as needed.. _________________ Real Studio 2012r1.1 | MacBook Pro i5, 10.6.8 | Windows 7 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]
