Suffering from a Brain Fart...

Bob Sneidar bobsneidar at iotecdigital.com
Tue Nov 22 19:04:03 EST 2016


THAT is interesting! Out of curiosity, I wonder if a stack can then go to itself non-modally! I've often wanted to have a menu item that can de-modalize an open stack so I can step through the code when troubleshooting.

Bob S


On Nov 22, 2016, at 14:16 , Richard Gaskin <ambassador at fourthworld.com<mailto:ambassador at fourthworld.com>> wrote:

I usually prefer to break up the handler for code flow simplicity, but IIRC you should be able to open the dialog invisibly, then show it and go to it "as modal" and it'll retain the modal layering while allowing the current handler to keep running.

It's been a long time since I've tried that, though, and with all the event changes for Cocoa I wouldn't be surprised if the event management was tightened up a bit since then.

--
Richard Gaskin




More information about the Use-livecode mailing list