Hi Jean-Louis,
Yes, in my experience, installMenu short-circuits the text edit shortcuts. I, too, have written a behavior that correctly accomplishes these things, accounting for the selStart and the selEnd. If yours works, then you're all set, but if you'd like mine, I'd be happy to pass it
along.
By the way, I found that keyDown would not even receive the event if the command were down, so I had to check on exitFrame. Were you able to trap keydown events in a behavior with installed menus?
In the project I'm working on now, I've got traps for keyDown when I've got userMenus installed.
I've set the keyDownScript to create a handler full of single key global shortcuts and have several field behaviors which trap for RETURN or TAB to accept values &/or jump to the next field, etc.
& YES, apparently one can't seem to trap for cmd-combinations (& probably ctrl-combos under Windows) in this situation.
hth -Buzz
Regards,
Daniel
[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!]
[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!]
