A Single SetProp?

Scott Rossi scott at tactilemedia.com
Fri Jan 19 20:16:58 EST 2007


Howdy List:

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.

Thanks & Regards,

Scott Rossi
Creative Director
Tactile Media, Multimedia & Design
-----
E: scott at tactilemedia.com
W: http://www.tactilemedia.com





More information about the use-livecode mailing list