name property of a specific tab

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?

I agree - this would be VERY cool.

Bob Cusick
ClickWare

Also see http://forum.servoy.com/viewtopic.php?t=464

I think it would be realy cool is by scripting, you could hide/show and enable disable specific tabs.

As you can see you can disable specific tabs through security, by disabling the underlying form.

Paul

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!

OK, maybe this doesn’t work for you, but I still think it would be a cool functionallity… :D

I am sorry!
I mented: Disabling by SECURITY can not te be used.

It must be done bij SCRIPTING!
You are right!
Thanks.

Any comment on this one?

Anyone ever heared more about this one?

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).

Paul

You can disable the form which is in a tab, see enabled property on a form.
We will add naming a tab to feature list.

Jan, if you can add naming, I assume you can add change forecolor etc. too?

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..

would this be possible?

Paul

I think it is possible but against all userinterface design rules… why is it a problem when the user see disabled tabs?

In my solution I will have different companies.

Also, I have different productgroups.

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.

Hope this makes a bit of sense?!? :)

Paul

yes, now it does, we will check it out if possible.

OK, tnx

Paul