FB II Compiler
Test for command key on launching
Here's what I do:
Do this check once when you're ready, if KeyCommand%<>0 then build your prefs window.
KeyCommand% = FN BITTST(#@KeyRec(3),00)
If it is 0, continue on with what you were doing.
The other way to handle the Command Key is with some sort of EVENT test. I find this to actually be rather unreliable; I've found the test makes the CommandKey "stuck on" in some situations.