Got a LiveCode personal license? Are you a beginner, hobbyist or educator that's new to LiveCode? This forum is the place to go for help getting started. Welcome!
on functionKey theKey
lock Screen
switch theKey
case 1 -- HELP
if the controlKey is down then -- load the main help file
launch url ("file:/"&gLePathFolder&"/Aide.pdf")
else -- do regular F1 (inline help)
.......
end if
break
case 2 -- PREFERENCES et STATISTIQUES
if the controlKey is down then -- STATISTIQUES
.....
else -- do regular-> PREFERENCES