Hi Slava, You could pass the message if the stack is already in front:
on resumeStack if the short name of me is line 1 of the openStacks then pass resumeStack else -- do what you want end if end resumeStack -- Best regards, Mark Schonewille Economy-x-Talk Consulting and Software Engineering Homepage: http://economy-x-talk.com Twitter: http://twitter.com/xtalkprogrammer KvK: 50277553 New: Download the Installer Maker Plugin 1.6 for LiveCode here http://qery.us/ce On 3 jun 2011, at 06:55, Slava Paperno wrote: > As far as I can tell, when you have a revBrowser window on the screen, and > you click in the revBrowser window, then click anywhere outside revBrowser, > the stack receives the resumeStack message. Can someone confirm? > > I was using an "on resumeStack" handler to initialize things as I switch > from Browse to Run, and receiving it as unexpected moments cost me some > debugging time. What do you folks use for this purpose, i.e. when you click > the Run button and want certain values to be reset to defaults? > > Thanks, > > Slava _______________________________________________ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode