setProp question

Devin Asay devin_asay at
Wed Jan 21 12:14:40 EST 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



Devin Asay
Humanities Technology and Research Support Center
Brigham Young University

More information about the Use-livecode mailing list