Gordon
March 17, 2011, 10:06am
1
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
Harjo
March 21, 2011, 1:52pm
4
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.
Gordon
March 21, 2011, 7:54pm
6
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)
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)
plugins.window.setToolbarVisible is deprecated because was renamed to plugins.window.setToolBarAreaVisible for proper meaning