If you fill in a name of a specific tab (in a tabpanel), than this name is not showing up under elements, in the method-editor!
So I can’t use the function: elements.tab_name.enabled = false (grayed)
This is a big disadvantaged with tabpanels versus portals.
With portals I use this function to block access (must be viewable!) to the complete portal.
This is not possible with tab-panel
Being a portal-nurt, I was trying to do more with tab-panels, and I bumbed into this problem.
Can there someting to be done?
disabling by scripting can (for us) not be used, because it depends on a specific STATUS, if the user can or cannot edit the information in the tab!. The information in the tab must be viewable!
I can be done, by giving all of the fields (in that tab) a name and disable them all seperatly, but this is a hell of a job, of you have much fields!
So I want to disable (grayed!) the information in the tab. Not disable the tab itself!
Haven’t been playing around with this for a while, but again running into this: Would be very handy to be able to include/exclude specific tabs from the tabpanel by scripting.
We can allready set Enable/disable per tab if you know the tabnumber (by name would be handy).
Jan, I know the option to disable a Tab on a tabpanel, but I would like to be able in designer to give the tabpanel for example 5 tabs and then, in the client, by scripting, be able to show/not show specific tabs.
Meaning: If there are 5 tabs, and I want the user only to see two tabs, I want to be able to hide the other three through scripting.
Basically, I don’t want the user to see any disabled tabs..
Per company a selection of productsgroups is available.
If you look at a customer, I want to show only the tabs for the available productgroups, based on the companytype of the customer
No, I can make customized forms per companytype, but I think that is not so neat. I rather make a general form on which I hide the tabs for products that are not available.