# name property of a specific tab

**URL:** <https://forum.servoy.com/t/name-property-of-a-specific-tab/446>\
**Category:** Classic Servoy\
**Created:** [October 16, 2003, 7:46am UTC](https://forum.servoy.com/t/name-property-of-a-specific-tab/446 "2003-10-16T07:46:17Z")\
**Posts on this page:** 15\
**Page:** 1

<div class="post-metadata">

**Author:** ![Harjo](https://yyz2.discourse-cdn.com/flex010/user_avatar/forum.servoy.com/harjo/32/4873_2.png) [@Harjo](https://forum.servoy.com/u/Harjo)\
**Post date:** [October 16, 2003, 7:46am UTC](https://forum.servoy.com/t/name-property-of-a-specific-tab/446/1 "2003-10-16T07:46:17Z")

</div>

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 ![:(]( "Sad")

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?

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex010/uploads/servoy/original/1X/363c5924e316baabbea11f046f1e2f3db64fbf70.jpeg) [@system](https://forum.servoy.com/u/system)\
**Post date:** [October 16, 2003, 10:04am UTC](https://forum.servoy.com/t/name-property-of-a-specific-tab/446/2 "2003-10-16T10:04:41Z")

</div>

I agree - this would be VERY cool.

Bob Cusick  
ClickWare

---

<div class="post-metadata">

**Author:** ![pbakker](https://avatars.discourse-cdn.com/v4/letter/p/a4c791/32.png) [@pbakker](https://forum.servoy.com/u/pbakker)\
**Post date:** [October 16, 2003, 11:09am UTC](https://forum.servoy.com/t/name-property-of-a-specific-tab/446/3 "2003-10-16T11:09:23Z")

</div>

Also see [http://forum.servoy.com/viewtopic.php?t=464](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

---

<div class="post-metadata">

**Author:** ![Harjo](https://yyz2.discourse-cdn.com/flex010/user_avatar/forum.servoy.com/harjo/32/4873_2.png) [@Harjo](https://forum.servoy.com/u/Harjo)\
**Post date:** [October 16, 2003, 11:24am UTC](https://forum.servoy.com/t/name-property-of-a-specific-tab/446/4 "2003-10-16T11:24:32Z")

</div>

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!

---

<div class="post-metadata">

**Author:** ![pbakker](https://avatars.discourse-cdn.com/v4/letter/p/a4c791/32.png) [@pbakker](https://forum.servoy.com/u/pbakker)\
**Post date:** [October 16, 2003, 11:30am UTC](https://forum.servoy.com/t/name-property-of-a-specific-tab/446/5 "2003-10-16T11:30:52Z")

</div>

OK, maybe this doesn’t work for you, but I still think it would be a cool functionallity… ![:D]( "Very Happy")

---

<div class="post-metadata">

**Author:** ![Harjo](https://yyz2.discourse-cdn.com/flex010/user_avatar/forum.servoy.com/harjo/32/4873_2.png) [@Harjo](https://forum.servoy.com/u/Harjo)\
**Post date:** [October 16, 2003, 11:34am UTC](https://forum.servoy.com/t/name-property-of-a-specific-tab/446/6 "2003-10-16T11:34:15Z")

</div>

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

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

---

<div class="post-metadata">

**Author:** ![Harjo](https://yyz2.discourse-cdn.com/flex010/user_avatar/forum.servoy.com/harjo/32/4873_2.png) [@Harjo](https://forum.servoy.com/u/Harjo)\
**Post date:** [October 21, 2003, 6:50am UTC](https://forum.servoy.com/t/name-property-of-a-specific-tab/446/7 "2003-10-21T06:50:39Z")

</div>

Any comment on this one?

---

<div class="post-metadata">

**Author:** ![pbakker](https://avatars.discourse-cdn.com/v4/letter/p/a4c791/32.png) [@pbakker](https://forum.servoy.com/u/pbakker)\
**Post date:** [November 26, 2003, 8:15pm UTC](https://forum.servoy.com/t/name-property-of-a-specific-tab/446/8 "2003-11-26T20:15:17Z")

</div>

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

---

<div class="post-metadata">

**Author:** ![Jan\_Blok](https://avatars.discourse-cdn.com/v4/letter/j/41988e/32.png) [@Jan\_Blok](https://forum.servoy.com/u/Jan_Blok)\
**Post date:** [November 26, 2003, 8:51pm UTC](https://forum.servoy.com/t/name-property-of-a-specific-tab/446/9 "2003-11-26T20:51:07Z")

</div>

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.

---

<div class="post-metadata">

**Author:** ![IT2Be](https://avatars.discourse-cdn.com/v4/letter/i/dc4da7/32.png) [@IT2Be](https://forum.servoy.com/u/IT2Be)\
**Post date:** [November 27, 2003, 6:43am UTC](https://forum.servoy.com/t/name-property-of-a-specific-tab/446/10 "2003-11-27T06:43:01Z")

</div>

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

---

<div class="post-metadata">

**Author:** ![pbakker](https://avatars.discourse-cdn.com/v4/letter/p/a4c791/32.png) [@pbakker](https://forum.servoy.com/u/pbakker)\
**Post date:** [November 27, 2003, 8:38am UTC](https://forum.servoy.com/t/name-property-of-a-specific-tab/446/11 "2003-11-27T08:38:47Z")

</div>

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

---

<div class="post-metadata">

**Author:** ![Jan\_Blok](https://avatars.discourse-cdn.com/v4/letter/j/41988e/32.png) [@Jan\_Blok](https://forum.servoy.com/u/Jan_Blok)\
**Post date:** [November 27, 2003, 8:59am UTC](https://forum.servoy.com/t/name-property-of-a-specific-tab/446/12 "2003-11-27T08:59:24Z")

</div>

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

---

<div class="post-metadata">

**Author:** ![pbakker](https://avatars.discourse-cdn.com/v4/letter/p/a4c791/32.png) [@pbakker](https://forum.servoy.com/u/pbakker)\
**Post date:** [November 27, 2003, 9:06am UTC](https://forum.servoy.com/t/name-property-of-a-specific-tab/446/13 "2003-11-27T09:06:34Z")

</div>

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?!? ![:)]( "Smile")

Paul

---

<div class="post-metadata">

**Author:** ![Jan\_Blok](https://avatars.discourse-cdn.com/v4/letter/j/41988e/32.png) [@Jan\_Blok](https://forum.servoy.com/u/Jan_Blok)\
**Post date:** [November 27, 2003, 10:04am UTC](https://forum.servoy.com/t/name-property-of-a-specific-tab/446/14 "2003-11-27T10:04:22Z")

</div>

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

---

<div class="post-metadata">

**Author:** ![pbakker](https://avatars.discourse-cdn.com/v4/letter/p/a4c791/32.png) [@pbakker](https://forum.servoy.com/u/pbakker)\
**Post date:** [November 27, 2003, 10:14am UTC](https://forum.servoy.com/t/name-property-of-a-specific-tab/446/15 "2003-11-27T10:14:12Z")

</div>

OK, tnx

Paul
