Hi David,

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

unfortunatley you cannot pass arrays to setprop handlers

True.
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"
    <statements>
    break
  case "uPageCached"
    <statements>
    break
  default
    <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: http://www.sosmartsoftware.com/
Email: [EMAIL PROTECTED]/
----------------------------------------------------------------


_______________________________________________
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