# Toolbar names ?

**URL:** <https://forum.servoy.com/t/toolbar-names/13745>\
**Category:** Classic Servoy\
**Created:** [March 17, 2011, 10:06am UTC](https://forum.servoy.com/t/toolbar-names/13745 "2011-03-17T10:06:45Z")\
**Posts on this page:** 8\
**Page:** 1

<div class="post-metadata">

**Author:** ![Gordon](https://avatars.discourse-cdn.com/v4/letter/g/3da27b/32.png) [@Gordon](https://forum.servoy.com/u/Gordon)\
**Post date:** [March 17, 2011, 10:06am UTC](https://forum.servoy.com/t/toolbar-names/13745/1 "2011-03-17T10:06:45Z")

</div>

Does anyone know the names of the tool bars !!

The wiki says  
setToolbarVisible  
voidsetToolbarVisible(name, visible)  
Make a toolbar visible or invisible.  
…

I want to switch off the facility for the user to use/see the add/delete/sort and \<\> toolbars on load.

application.setToolbarVisible(‘text’,false);  
switches of the text toolbar - how do you get rid of the rest ???

Cheers  
Gordon

---

<div class="post-metadata">

**Author:** ![bobcusick](https://avatars.discourse-cdn.com/v4/letter/b/ba9def/32.png) [@bobcusick](https://forum.servoy.com/u/bobcusick)\
**Post date:** [March 17, 2011, 7:41pm UTC](https://forum.servoy.com/t/toolbar-names/13745/2 "2011-03-17T19:41:11Z")

</div>

“edit” and “text”

```auto
setToolbarVisible("text", false)
setToolbarVisible("edit", false)

```

---

<div class="post-metadata">

**Author:** ![Robert\_Huber](https://avatars.discourse-cdn.com/v4/letter/r/da6949/32.png) [@Robert\_Huber](https://forum.servoy.com/u/Robert_Huber)\
**Post date:** [March 21, 2011, 1:48pm UTC](https://forum.servoy.com/t/toolbar-names/13745/3 "2011-03-21T13:48:38Z")

</div>

Hi Gordon

May be with

```auto
plugins.kioskmode.setToolBarVisible(false);
plugins.kioskmode.setStatusBarVisible(false);

```

or

```auto
// If each toolbar element to be set individually, use following statements
application.setToolbarVisible('edit', false);
application.setToolbarVisible('text', false);
application.setToolbarVisible('design', false);
application.setToolbarVisible('draw', false);
application.setToolbarVisible('align', false);
application.setToolbarVisible('distribute', false);

```

Best regards, Robert

---

<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:** [March 21, 2011, 1:52pm UTC](https://forum.servoy.com/t/toolbar-names/13745/4 "2011-03-21T13:52:40Z")

</div>

plugins.kioskmode is depricated!

the preferred way is:

```auto
plugins.window.setToolbarVisible(false) //remove all of them at one.

```

---

<div class="post-metadata">

**Author:** ![Robert\_Huber](https://avatars.discourse-cdn.com/v4/letter/r/da6949/32.png) [@Robert\_Huber](https://forum.servoy.com/u/Robert_Huber)\
**Post date:** [March 21, 2011, 2:57pm UTC](https://forum.servoy.com/t/toolbar-names/13745/5 "2011-03-21T14:57:49Z")

</div>

Thanks, Harjo, for pointing to that!

Regards, Robert

> Harjo:  
> plugins.kioskmode is depricated!
> 
> the preferred way is:
> 
> ```auto
> plugins.window.setToolbarVisible(false) //remove all of them at one.
> 
> ```

---

<div class="post-metadata">

**Author:** ![Gordon](https://avatars.discourse-cdn.com/v4/letter/g/3da27b/32.png) [@Gordon](https://forum.servoy.com/u/Gordon)\
**Post date:** [March 21, 2011, 7:54pm UTC](https://forum.servoy.com/t/toolbar-names/13745/6 "2011-03-21T19:54:18Z")

</div>

Guys - thanks for the help - toolbars are now gone !!

best  
Gordon

---

<div class="post-metadata">

**Author:** ![stefanoni](https://avatars.discourse-cdn.com/v4/letter/s/bb73d2/32.png) [@stefanoni](https://forum.servoy.com/u/stefanoni)\
**Post date:** [August 9, 2011, 7:11am UTC](https://forum.servoy.com/t/toolbar-names/13745/7 "2011-08-09T07:11:03Z")

</div>

> Harjo:  
> plugins.kioskmode is depricated!
> 
> the preferred way is:
> 
> ```auto
> plugins.window.setToolbarVisible(false) //remove all of them at one.
> 
> ```

Servoy 6:  
plugins.window.setToolbarVisible(false) depricated too

the preferred way is: application.setToolbarVisible(name, true/false)  
 ![:lol:]( "Laughing")

---

<div class="post-metadata">

**Author:** ![lvostinar](https://yyz2.discourse-cdn.com/flex010/user_avatar/forum.servoy.com/lvostinar/32/5248_2.png) [@lvostinar](https://forum.servoy.com/u/lvostinar)\
**Post date:** [August 9, 2011, 7:45am UTC](https://forum.servoy.com/t/toolbar-names/13745/8 "2011-08-09T07:45:25Z")

</div>

> stefanoni:
> 
> > Harjo:  
> > plugins.kioskmode is depricated!
> > 
> > the preferred way is:
> > 
> > ```auto
> > plugins.window.setToolbarVisible(false) //remove all of them at one.
> > 
> > ```
> 
> Servoy 6:  
> plugins.window.setToolbarVisible(false) depricated too
> 
> the preferred way is: application.setToolbarVisible(name, true/false)  
> ![:lol:]( "Laughing")

plugins.window.setToolbarVisible is deprecated because was renamed to plugins.window.setToolBarAreaVisible for proper meaning
