[futurebasic] Re: Key Down at Startup

Message: < previous - next > : Reply : Subscribe : Cleanse
Home   : September 1998 : Group Archive : Group : All Groups

From: tatewake@... (TJ Grant)
Date:
Here's what I do:

DIM KeyRec(7)
CALL GETKEYS(KeyRec(0))
KeyCommand% = FN BITTST(#@KeyRec(3),00)

Do this check once when you're ready, if KeyCommand%<>0 then build your
prefs window.

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.



~ I heart Apple ~

-- TJ Grant (tatewake@...)
Inspired Software. http://inspired.netstreet.net/
Macintosh, Dos, Windows, and BeOS software solutions.
Phone: 407-728-7563