>Thank you for the suggestions and sample code regarding modifier >keys. Will be >a big help now and for future reference.
I didn't add to the thread yet, because I wanted to test something first. Do you know that control-a will change the key from being "a"? Control is not a modifier key like alt/option/command, it's more like shift. Shift-"]" (on my keyboard) will make the key be "}". That's no surprise, and you wouldn't expect the key to report "]". Control generally zeros one bit from the ASCII of the character you are pressing. That will mean that control-i will be the same as pressing tab, and control-m would be like pressing return, etc. What was the original need? Are you trying to allow people to do control-a as a way to Select All? Control-a is likely to invoke something in the browser. If you are doing this in a projector, there are a couple of ways to handle the issue. The easiest way is to install a menu, and have the menu trap those special keys, and then trigger a Lingo handler for you. A different approach would be to check the keycode. It remains the same, regardless of what modifier keys are pressed. I still think that some control-character presses will trigger things in a browser (on a PC anyway), but at least you'll know what key the user is pressing. -- [To remove yourself from this list, or to change to digest mode, go to http://www.penworks.com/lingo-l.cgi To post messages to the list, email [EMAIL PROTECTED] (Problems, email [EMAIL PROTECTED]). Lingo-L is for learning and helping with programming Lingo. Thanks!]
