Newbie ? Answered

Eric Chatonet eric.chatonet at sosmartsoftware.com
Thu Jul 28 11:42:13 EDT 2005


Hi Lynch,

When you put some handlers which trigger system messages in a main  
stack script, you could add a line of code as the following:
if the long ID of this stack <> the long ID of me then exit <Handler  
Name>
This prevent sub stacks to trigger messages that are made only for  
the main stack.
Hope this helps.

Le 28 juil. 05 à 17:36, Lynch, Jonathan a écrit :

> Well, what I mean is that, if I have a bug of my own creation in a
> resizestack handler, it tends to crash the IDE...
>
> Like, if I have a resizestack handler that alters the size of a  
> group to
> stay in proportion to the window...
>
> But then, in a substack, I forget to trap the resizestack message,  
> and I
> resize that substack, it will give an error saying it could not  
> find the
> group - but then I cannot just close the error message. I wind up  
> having
> to ctrl-alt-delete Rev itself.

Best Regards from Paris,

Eric Chatonet.
----------------------------------------------------------------
So Smart Software

For institutions, companies and associations
Built-to-order applications: management, multimedia, internet, etc.
Windows, Mac OS and Linux... With the French touch

Free plugins and tutorials on my website
----------------------------------------------------------------
Web site        http://www.sosmartsoftware.com/
Email        eric.chatonet at sosmartsoftware.com/
Phone        33 (0)1 43 31 77 62
Mobile        33 (0)6 20 74 50 86
----------------------------------------------------------------




More information about the use-livecode mailing list