Closing Substack With Mouse Click

Klaus on-rev klaus at major.on-rev.com
Thu Sep 9 13:54:04 EDT 2010


Hi Warren,

> What would be the best method to close a substack if I click a mouse button
> anywhere outside of the substack card?

put this into the stack script

on suspendstack
  close this stack
end suspendstack

Hm, on the second thought I would rather:

on suspendstack
 if the environment <> "development" then close this stack
end suspendstack

:-)

> Warren

Best

Klaus

--
Klaus Major
http://www.major-k.de
klaus at major.on-rev.com




More information about the use-livecode mailing list