developer mode

Questions, tips and tricks and techniques for scripting in Servoy

developer mode

Postby IT2Be » Fri Mar 12, 2004 1:43 pm

Is it possible to check if a solution is running under developer? I want to disable some toolbar items in the client via application.setToolbarVisible('edit',false). But this also lets the item disappear in the developer where I want it to remain!.
Marcel J.G. Trapman (IT2BE)
SAN partner - Freelance Java and Servoy
Servoy Components - IT2BE Plug-ins and Beans for Servoy
ServoyForge - Open Source Components for Servoy
User avatar
IT2Be
Servoy Expert
 
Posts: 4766
Joined: Tue Oct 14, 2003 7:09 pm
Location: Germany

Postby jcompagner » Sun Mar 14, 2004 10:15 pm

i will make a javascript method: application.isRunningInDeveloper() for this. (2.0RC10)
Johan Compagner
Servoy
User avatar
jcompagner
 
Posts: 8841
Joined: Tue May 27, 2003 7:26 pm
Location: The Internet

Postby IT2Be » Sun Mar 14, 2004 10:21 pm

Great Johan, thank your!!!
Marcel J.G. Trapman (IT2BE)
SAN partner - Freelance Java and Servoy
Servoy Components - IT2BE Plug-ins and Beans for Servoy
ServoyForge - Open Source Components for Servoy
User avatar
IT2Be
Servoy Expert
 
Posts: 4766
Joined: Tue Oct 14, 2003 7:09 pm
Location: Germany


Return to Methods

Who is online

Users browsing this forum: No registered users and 3 guests