Generic setprop (was: Re: Custom Properties vs globals)

Eric Chatonet eric.chatonet at
Tue Jul 17 09:03:22 EDT 2007

Hi David,

Le 17 juil. 07 à 14:45, David Bovill a écrit :

> unfortunatley you cannot pass arrays to setprop handlers

But this reminded me of a non documented way to handle GetProp and  
SetProp in Rev allowing to trigger any prop in a given custom  
property set in one single handler:

setprop vtEvent[pPropName] pNewValue
   switch pPropName
   case "uSnapShotIsAvailable"
   case "uPageCached"
     <error handling>
   end switch
   pass vtEvent
end vtEvent[pPropName]

pPropName is here passed to Setprop as a param.
This may help.

Best regards from Paris,
Eric Chatonet.
Plugins and tutorials for Revolution:
Email: eric.chatonet at

More information about the Use-livecode mailing list