resumeStack and revBrowser

J. Landman Gay jacque at hyperactivesw.com
Fri Jun 3 12:11:10 EDT 2011


On 6/2/11 11:55 PM, 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?

I've never needed to do that, but check out the "newTool" message. It is 
sent whenever you switch tools, and it should work better than a 
resumestack.

-- 
Jacqueline Landman Gay         |     jacque at hyperactivesw.com
HyperActive Software           |     http://www.hyperactivesw.com




More information about the use-livecode mailing list