Is There an alternative in Servoy 7 to kioskmode?

Questions and answers on developing, deploying and using plugins and JavaBeans

Is There an alternative in Servoy 7 to kioskmode?

Postby cuoredisardegna » Thu Jul 09, 2015 5:43 pm

Hi to All,

I'm migrating from Servoy 3.5 to Servoy 7, an I'm having problems with:

Code: Select all
plugins.kioskmode.setMenuVisible(false) //will have no effect in developer
plugins.kioskmode.setToolBarVisible(false)


Could Anyone Know: 1.If there is an alternative to Kioskmode; 2. The eventual exact sintax for thealternative to the two commands above?

Tanks in advance.

Gianni Pinna
cuoredisardegna
 
Posts: 68
Joined: Mon May 07, 2012 5:34 am

Re: Is There an alternative in Servoy 7 to kioskmode?

Postby ROCLASI » Thu Jul 09, 2015 6:14 pm

Hi Gianni,

cuoredisardegna wrote:
Code: Select all
plugins.kioskmode.setMenuVisible(false) //will have no effect in developer
plugins.kioskmode.setToolBarVisible(false)

All these methods moved into the Window plugin. So your code has to be changed into this:
Code: Select all
plugins.window.getMenuBar().setVisible(false);
plugins.window.setToolBarAreaVisible(false);


Hope this helps.
Robert Ivens
SAN Developer / Servoy Valued Professional / Servoy Certified Developer

ROCLASI Software Solutions / JBS Group, Partner
Mastodon: @roclasi
--
ServoyForge - Building Open Source Software.
PostgreSQL - The world's most advanced open source database.
User avatar
ROCLASI
Servoy Expert
 
Posts: 5438
Joined: Thu Oct 02, 2003 9:49 am
Location: Netherlands/Belgium

Re: Is There an alternative in Servoy 7 to kioskmode?

Postby cuoredisardegna » Thu Jul 09, 2015 10:28 pm

Hi Robert,

it is always a pleasure to find You, the luminous suggestions, and the promptness of Yours.

Have You whath You hope, Robert.
With grateful memory.

Humbly.

Gianni Pinna
cuoredisardegna
 
Posts: 68
Joined: Mon May 07, 2012 5:34 am


Return to Plugins and Beans

Who is online

Users browsing this forum: Google [Bot] and 10 guests