Toolbar names ?

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

“edit” and “text”

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

Hi Gordon

May be with

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

or

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

plugins.kioskmode is depricated!

the preferred way is:

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

Thanks, Harjo, for pointing to that!

Regards, Robert

Harjo:
plugins.kioskmode is depricated!

the preferred way is:

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

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

best
Gordon

Harjo:
plugins.kioskmode is depricated!

the preferred way is:

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:

stefanoni:

Harjo:
plugins.kioskmode is depricated!

the preferred way is:

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:

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