[[https://www.revelation.com/|Sign up on the Revelation Software website to have access to the most current content, and to be able to ask questions and get answers from the Revelation community]] ==== Disabling F2 for Menus for some users (AREV Specific) ==== === At 20 OCT 1999 04:06:50PM Paul Sindberg wrote: === {{tag>"AREV Specific"}} Does anyone know of a way to disable some users from using F2 to access other menus? Not in a form, but say on the main menu? I don't want to use the Security level ability for Menus unless I have to. Is there some Environmental switch I can use (@environ.keys) or such? I would appreciate any input Paul Sindberg Paul@sprompt.com ---- === At 21 OCT 1999 09:52AM Don Miller - C3 Inc. wrote: === The problem with using environment settings is that the keys trapped are global (Menus, Windows, etc.). Disabling the F2 key in menus will also disable it in windows and the TCL as well. I suppose you could write a fairly complex subroutine that would capture all instances of the F2 key and attempt to figger out what to do with based on the user and where they were. The problem would not be trivial to solve, though. You can certainly diddle the keystrokes that are acted on by changing / setting the ENVIRON.SET variables but this is a Global Variable which then must be checked everywhere. Don Miller C3 Inc. ---- === At 27 OCT 1999 09:44PM Paul Sindberg wrote: === Don; Yeah I kind of figured that - I could not see any easy way around it. Oh well, thanks for the input. Paul ---- === At 28 OCT 1999 09:15AM akaplan@sprezzatura.com - [url=http://www.sprezzatura.com]Sprezzatura Group[/url] wrote: === You can set an option on the menu (Standalone Menu) so that if TCL is disabled, this menu will not appear on the F2 list. akaplan@sprezzatura.com [url=http://www.sprezzatura.com]Sprezzatura Group[/url] [img]http://www.sprezzatura.com/zz.jpg[/img] [[https://www.revelation.com/revweb/oecgi4p.php/O4W_HANDOFF?DESTN=O4W_RUN_FORM&INQID=NONWORKS_READ&SUMMARY=1&KEY=815698960C2B026A85256810006E7D58|View this thread on the forum...]]