On Fri, 19 Jan 2007 17:16:58 -0800, Scott Rossi wrote:

> I'm just now coming to grips to with the SetProp control structure and was
> wondering if there is a way to trigger a single SetProp structure (that
> contains a switch statement) when setting *any* custom property, or do you
> have to use a separate SetProp structure for *each property* you want to
> monitor.  Something like:
> 
>  setProp anyOfMyProps pValue
>    switch anyOfMyProps
>     case "propA"
>       doSomeStuff
>     break
>     case "propB"
>       doOtherStuff
>    end switch
>  end anyOfMyProps
> 
> I have the feeling this isn't proper usage but I thought I'd ask anyway.

Sorry, Scott - you need to define one setProp for each property being 
set. In a way it's kind of like trying to have an "on <anyHandlerName>" 
handler to trap calls made to any handler... just ain't gonna happen. 
:-)

Ken Ray
Sons of Thunder Software, Inc.
Email: [EMAIL PROTECTED]
Web Site: http://www.sonsothunder.com/
_______________________________________________
use-revolution mailing list
[email protected]
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution

Reply via email to