It would be nice if tabs in tab panels had the visible property.
John McCann
It would be nice if tabs in tab panels had the visible property.
John McCann
Oh yes, it would . This seemst not to be an easy one, though. It has been requested several times already…
Patrick,
I know I think I might have been one of the ones requesting it in the past.
John McAnn
see removeTabAt() and addTabPanel() methods
In what version do we see that?
pretty new… next beta
But the add is only not related tabs.. so the data that must be shown must be done by the developer itself.
This is pretty good news, Johan!!
jcompagner:
see removeTabAt() and addTabPanel() methods
Wonderfull!!!
Johan,
This will make for a big change in my solution. I think it adds many oppurtunities to customize the appearance of the interace for different levels of users. The change would be easier it also worked with related tabs. Do you think it will work with related tabs in the future, or should I push forward with big changes now?
John McCann
i don’t think you will be able to add a tabpanel that has a relation. Because this is not really possibly in the way the databinding works.
I agree that this is a huge plus for modifying the interface for different types of users. We will want to use this as soon as possible. I think having the ability to remove tabs will take care of a lot of our needs. Thank you for this new feature!
Just tried the remove tab and it worked like a dream. I am not so clear on the add tab. The sample code is:
elements.tabs_70.addTabPanel(Object, String, String, String, Color, Color)
Could use some help on this. Or maybe its in the new help file that I have not downloaded yet.
It seems we forgot the sample data, will be added in Servoy 2.2 rc2
sample:
elements.tabs_70.addTabPanel(forms.orders, ‘Orders’, null, null, null, null)
Johan,
OK. I can definitely add a small amount of code and make relationless tab panels. Being able to make tabpanels disappear and re-appear adds a whole new dimension for customization. Great new feature.
John McCann