# Tabbed bar remove

**URL:** <https://forum.juce.com/t/tabbed-bar-remove/62590>\
**Category:** Audio Plugins\
**Created:** [August 23, 2024, 11:22am UTC](https://forum.juce.com/t/tabbed-bar-remove/62590 "2024-08-23T11:22:45Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![Hilay](https://avatars.discourse-cdn.com/v4/letter/h/5fc32e/32.png) [@Hilay](https://forum.juce.com/u/Hilay)\
**Post date:** [August 23, 2024, 11:22am UTC](https://forum.juce.com/t/tabbed-bar-remove/62590/1 "2024-08-23T11:22:45Z")

</div>

![image](https://us1.discourse-cdn.com/flex026/uploads/juce/original/3X/3/d/3dd187f8958c2facb3b4f73444506c8d98593997.png)  
how can i remove the tab bar? i dont want to allow the user to move between tabs by himself

---

<div class="post-metadata">

**Author:** ![cpr2323](https://sea2.discourse-cdn.com/flex026/user_avatar/forum.juce.com/cpr2323/32/18682_2.png) [@cpr2323](https://forum.juce.com/u/cpr2323)\
**Post date:** [August 23, 2024, 2:32pm UTC](https://forum.juce.com/t/tabbed-bar-remove/62590/2 "2024-08-23T14:32:32Z")

</div>

Why are you using a TabbedComponent if you don’t want Tabs?

You can just add multiple components to your window (addChildComponent), and just set one visibile at time (setVisible) through whatever means of selection you want to use.

---

<div class="post-metadata">

**Author:** ![daniel](https://sea2.discourse-cdn.com/flex026/user_avatar/forum.juce.com/daniel/32/790_2.png) [@daniel](https://forum.juce.com/u/daniel)\
**Post date:** [August 23, 2024, 2:42pm UTC](https://forum.juce.com/t/tabbed-bar-remove/62590/3 "2024-08-23T14:42:29Z")

</div>

It was a suggestion by me on a previous thread in order to make a pages like UX flow.

TabbedComponent already implements switching of the tabs and the resizing.

Of course you are right, with a little bit of experience in JUCE it is trivial to roll your own without the TabbedButtonBar.  
But for a head start simply set the tab bar to zero size:

```auto
tabbedComponent.setTabBarDepth (0);

```

---

<div class="post-metadata">

**Author:** ![Hilay](https://avatars.discourse-cdn.com/v4/letter/h/5fc32e/32.png) [@Hilay](https://forum.juce.com/u/Hilay)\
**Post date:** [August 23, 2024, 3:08pm UTC](https://forum.juce.com/t/tabbed-bar-remove/62590/4 "2024-08-23T15:08:40Z")

</div>

I’m new, and it seemed like the right way…  
you are correct about using a component this is exactly what im currently doing

---

<div class="post-metadata">

**Author:** ![Hilay](https://avatars.discourse-cdn.com/v4/letter/h/5fc32e/32.png) [@Hilay](https://forum.juce.com/u/Hilay)\
**Post date:** [August 23, 2024, 3:11pm UTC](https://forum.juce.com/t/tabbed-bar-remove/62590/5 "2024-08-23T15:11:26Z")

</div>

Tnx, I have decided to use compenents and switch between them when needed. just to make sure im on the right path, I have a function that swaps between components in my editor, and im giving a pointer to that function for each compennt so each component can switch if a button is clicked inside of it. is there a better way  
?

---

<div class="post-metadata">

**Author:** ![daniel](https://sea2.discourse-cdn.com/flex026/user_avatar/forum.juce.com/daniel/32/790_2.png) [@daniel](https://forum.juce.com/u/daniel)\
**Post date:** [August 23, 2024, 3:50pm UTC](https://forum.juce.com/t/tabbed-bar-remove/62590/6 "2024-08-23T15:50:34Z")

</div>

Looks good from a distance. Just make sure to use owning pointers if you decide to create the current tab on the spot or plain members if you have them all available in parallel.
