Newbie ? Answered

Lynch, Jonathan bnz2 at cdc.gov
Thu Jul 28 11:43:39 EDT 2005


That is a good idea!

I have gotten in the habit of making sure my substacks trap such messages - but your way will prevent it even if I forget to do that.

Thanks Eric.

-----Original Message-----
From: use-revolution-bounces at lists.runrev.com [mailto:use-revolution-bounces at lists.runrev.com] On Behalf Of Eric Chatonet
Sent: Thursday, July 28, 2005 11:42 AM
To: How to use Revolution
Subject: Re: Newbie ? Answered

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
----------------------------------------------------------------

_______________________________________________
use-revolution mailing list
use-revolution at lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution





More information about the use-livecode mailing list