lemonjuice
Programmer
Does anyone know the syntax to use, when working with the setDesktopPreference() property?
Follow along with the video below to see how to install our site as a web app on your home screen.
Note: This feature may not be available in some browsers.
method pushButton(var eventInfo Event)
var
atPV Anytype ; Preference Value
endVar
atPV = getDesktopPreference( prefProjectSection,
prefDeveloperMenu )
if not atPV then ; Dev Menus aren't displayed
setDesktopPreference( PrefProjectSection,
prefDeveloperMenu, TRUE )
endIf
endMethod