Progress! Sent the menubar all the way to the back of the layers...
Update: No, that does not seem to be the factor, it is whether or not the menubar is on the card or in the OS X menu. When it is set to the menubar for the stack, they commandkeys do not work.
Last edited by teacherguy on Tue Jan 17, 2012 3:31 am, edited 1 time in total.
Yeah, the standard shortcuts for editing and quit. I even had the menubuilder start me off with the script etc. Simple right?
When the menu is set as the menubar, the messages don't go through. When the menu is on the card, no problem. I'm thinking it has something to do with layers? I don't see why the layer would change when you put the menu up to the menubar, but....
Bottom line for now: Leaving the menu on the card gives me my edit commands again (cut/copy/paste/undo/select all). Still no command q though. I suppose that has something to do with quit being under the app name in the OS X menubar.
I have several datagrids on my cards that have handlers involving the commandkey (I use the data grid helper and it installs a number of scripts for dragging rows to change their order, command "a" selects all the rows in the datagrid, etc.). So I suspect there is something conflicting here and perhaps if I can get the layers sorted out then the message path will be clear?
I'll battle more tomorrow. Any thoughts appreciated.
On Mac, if the editmenus is true, the group won't always catch the commandkey. The menu needs to be in the system menu bar to do that consistently. When I have the menus showing on a stack, I just use the mouse to test them.
If your menubar is in the system menu it should work.
Jacqueline Landman Gay | jacque at hyperactivesw dot com
HyperActive Software | http://www.hyperactivesw.com