Toolbars disappear

Can you give us an example to let the toolbars disappear automaticaly when the solution is opened?

The servoy client starts up without design and draw toolbar by default.
Do you want the possibility to disable edit-toolbar/text-toolbar/menu-bar via scripting?

Yep! Is this possible?

Not possible yet.
But I’ll put it on the request list, and ask the dev team if they can implement this.

Keep you posted.
Thanks for input.

In the next build you’ll be able to do:

application.setToolbarVisible(‘text’,false/true);
application.setToolbarVisible(‘design’,false/true);
application.setToolbarVisible(‘edit’,false/true);
application.setToolbarVisible(‘draw’,false/true);

Hiding the complete menubar has some consequences,
so we’ll have to give that a closer look before implementing.

Great work Dev Team!!!

Oke that’s great,
but what I meaned was the MENU-BAR too! and lock the toolbar (or remove) So that we have total control! Because for example: Delete All records is rather a dangeroes future. I know you can protect this by giving every user the proper rights. But sometimes I do have to delete records (in methods) even the user itself may not!
We use in Filemaker the plugin SECUREFM. This plugin can completely remove the MENU-BAR

I believe that this is also under consideration by the dev team!

I use

application.setToolbarVisible(‘edit’,false);
application.setToolbarVisible(‘text’, true);
application.setToolbarVisible(‘draw’, false);
application.setToolbarVisible(‘design’,false);
application.setToolbarVisible(‘align’,false);
application.setToolbarVisible(‘distribute’, false)

in my default startup method, but the client can not use the text toobar, but can only see it. They need to use it as well…
What am I missing here?

The text toolbar is disabled until you are in a field in which you can actually change font and size (RTF or HTML field)

Allright! Thanks alot again!

I have coded the following:

application.setToolbarVisible('edit',false); 
application.setToolbarVisible('text', false); 
application.setToolbarVisible('draw', false); 
application.setToolbarVisible('design',false); 
application.setToolbarVisible('align',false); 
application.setToolbarVisible('distribute', false)

But the client user can simply turn the edit and text toolbars back on. How do I prevent this? Thank you for your assistance.

You can use the Kioskmode plugin that comes with Servoy 3.x

plugins.kioskmode.setToolBarVisible(false);

With this plugin you can also disable the menubar and hide the statusbar.

Hope this helps.

And, when you don’t want to work in kioskmode you can use the menubar plug-in and simply take out these menuitems.

rvpm:
I have coded the following:

application.setToolbarVisible('edit',false); 

application.setToolbarVisible(‘text’, false);
application.setToolbarVisible(‘draw’, false);
application.setToolbarVisible(‘design’,false);
application.setToolbarVisible(‘align’,false);
application.setToolbarVisible(‘distribute’, false)




But the client user can simply turn the edit and text toolbars back on. How do I prevent this? Thank you for your assistance.

Whoa a post on a three year old thread!

Whoa a post on a three year old thread!

No it is actually > 4 years!