Disabling the new record button in client

Questions, answers, tips and ideas on Servoy Client

Disabling the new record button in client

Postby dpearce » Sun Feb 11, 2007 8:12 pm

Is their a simple way to disable features of the client, such as new record.

I have hidden the toolbars, but they can still use the menus.

Is their a JAVA way of doing this?

David
dpearce
 
Posts: 469
Joined: Sun Dec 03, 2006 11:53 am

Postby Harjo » Sun Feb 11, 2007 9:05 pm

in the properties of a form, you can set all those commands to: none.

Hope this helps
Harjo Kompagnie
ServoyCamp
Servoy Certified Developer
Servoy Valued Professional
SAN Developer
Harjo
 
Posts: 4321
Joined: Fri Apr 25, 2003 11:42 pm
Location: DEN HAM OV, The Netherlands

Postby Dexadrine » Mon Feb 12, 2007 11:20 am

Or you can go the whole way and get rid of the Menus and the Toolbars:

Code: Select all
plugins.kioskmode.setMenuVisible(false); //will have no effect in developer
plugins.kioskmode.setToolBarVisible(false);
Dexadrine
 
Posts: 96
Joined: Wed Jun 07, 2006 12:25 pm
Location: London

Thanks

Postby dpearce » Mon Feb 12, 2007 11:29 am

Thanks Guys,

Servoy is great its just sometimes it takes you hours to try and work out where a simple function is!

Both great suggestion, the later being easier now i have finished my solution!

David
dpearce
 
Posts: 469
Joined: Sun Dec 03, 2006 11:53 am


Return to Servoy Client

Who is online

Users browsing this forum: No registered users and 7 guests