Can't get command q to work

Anything beyond the basics in using the LiveCode language. Share your handlers, functions and magic here.

Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller, robinmiller

teacherguy
Posts: 379
Joined: Thu Dec 08, 2011 2:43 am

Re: Can't get command q to work

Post by teacherguy » Tue Jan 17, 2012 9:09 pm

Some progress: I compiled again, this time turning off the checkmark for having the menu "set as stack menubar" which returns my menu to the card. The edit commands work from the card and command q now works in triggering the quit command located in the application menubar. :roll:

Something else that may provide a clue: I made a new command that simply triggers an answer dialogue. I set the shortcut to the command key plus the letter L. When I compile the standalone to have the menu "set as stack menubar" that command key combination will work (command-L), but not the others.

teacherguy
Posts: 379
Joined: Thu Dec 08, 2011 2:43 am

Re: Can't get command q to work

Post by teacherguy » Wed Jan 18, 2012 12:20 am

Another clue: When I type preopenstack into the message box, this error shows, even though the debugger does not halt the app:

Message execution error:
Error description: defaultMenuBar: can't find group
Hint: group id 682462 of card id 1009 of stack ......

mwieder
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 3581
Joined: Mon Jan 22, 2007 7:36 am
Contact:

Re: Can't get command q to work

Post by mwieder » Wed Jan 18, 2012 12:26 am

The IDE's built-in debugger has its own share of bugs, one of them being that you can't debug your way through a preOpenStack handler. Or a resize handler.

teacherguy
Posts: 379
Joined: Thu Dec 08, 2011 2:43 am

Re: Can't get command q to work

Post by teacherguy » Wed Jan 18, 2012 12:33 am

OK. Well, as of now the menus "work" as is. I guess it isn't so bad seeing it on the card the way Windows folks will see it. Though I do want to know what I have botched nonetheless.

teacherguy
Posts: 379
Joined: Thu Dec 08, 2011 2:43 am

Re: Can't get command q to work

Post by teacherguy » Thu Jan 19, 2012 2:08 am

This plugin is turning out to be very helpful. I'm finding that datagrids are continuing to steal the focus...

http://www.bluemangolearning.com/revolu ... usedobject

Post Reply