Is There an alternative in Servoy 7 to kioskmode?

Hi to All,

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

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

Hi Gianni,

cuoredisardegna:

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:

plugins.window.getMenuBar().setVisible(false);
plugins.window.setToolBarAreaVisible(false);

Hope this helps.

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