dynamic scripts at runtime

RGould8 at aol.com RGould8 at aol.com
Fri Jun 18 16:02:25 EDT 2004


We have a winner here!   Yes, this technique works great for me.   Thanks for 
the advice!

In a message dated 6/18/04 3:39:21 PM, ambassador at fourthworld.com writes:


> Or you get get reall clever with just one script that checks for a
> property in the fields to see if it's elligible for the desired behavior:
> 
> on mouseDown
>    if the uClass of the target is "FieldsThatGetMessages" then
>       dostackbasedmousedownstuff
>    else pass mousedown
> end mousedown
> 
> Then you can define behaviors in one tidy place and assign behaviors
> with a single property setting.
> 
> 



More information about the use-livecode mailing list