On 8/12/2015 12:45 PM, Brahmanathaswami wrote:
In the end I was unable to figure out how to pass a variable string as a
name of a custom property.

This is how the object inspector in the IDE does it:

command revInspectorSetProperty pObject, pPropName, pValue
   lock messages
   set the pPropName of pObject to pValue
   unlock messages
end revInspectorSetProperty

function revInspectorGetProperty pObject, pPropName
   lock messages
   get the pPropName of pObject
   unlock messages
   return it
end revInspectorGetProperty

So it should work if you concatenate the property name and pass that to a handler like the above.

--
Jacqueline Landman Gay         |     jac...@hyperactivesw.com
HyperActive Software           |     http://www.hyperactivesw.com

_______________________________________________
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode

Reply via email to