setProp question

Devin Asay devin_asay at byu.edu
Wed Jan 21 11:14:40 CST 2009


On Jan 21, 2009, at 9:46 AM, Thomas McGrath III wrote:

> Do you need to pass a setProp message or something to get the prop
> being set to 'take'. I am having trouble updating custom properties
> and reading them. They don't seem to update when I script them either
> by code in a button or the message box.

Yes, Tom, you have to pass the property explicitly, like this:

setprop myCProp pArg
   -- do stuff
   pass myCProp
end myCProp

HTH

Devin


Devin Asay
Humanities Technology and Research Support Center
Brigham Young University




More information about the use-livecode mailing list