Page 1 of 1

Tabs and visiblility

Posted: Wed Jun 26, 2013 2:34 pm
by HowardA
I was wanting to dynamically add tabs to a tab panel based on an action taken by the user. So, initially i'd have one tab with various data. IF the user presses a button (link etc) I'd want to add a second tab (make visible) with various data displayed, and a third/fourth etc.
Can I control the visibility of a specific tab associated with a tab panel so I could load all the various data before displaying the record format, but only show the particular tab(s) I'm interested in the user seeing? (then control the visibility of the individual tabs based on the user's interaction)?
IF not, is there another way to accomplish the end goal?

THANKS

Re: Tabs and visiblility

Posted: Wed Jun 26, 2013 6:20 pm
by Scott Klement
Unfortunately, there's no way to dynamically hide/show tabs that I'm aware of.

One possible workaround would be to have an object that looks like your screen's background that you put in front of the tab(s) you don't want to see. Make this 'blocker' be visible or invisible when the user clicks the button or link that you mention. In a way, this does hide the tab.

Would that work for you?

Re: Tabs and visiblility

Posted: Thu Jun 27, 2013 8:01 am
by HowardA
Thank you Scott, based on your response I think I may have something to try. I will just create separate record formats (single tab, double tab, triple tab, quad tab (etc)) and display the appropriate record format based on the users interaction. Not too straight forward but seems like it may work for what I'm doing.

Thanks for your help.