setProp question

Thomas McGrath III mcgrath3 at mac.com
Wed Jan 21 12:17:52 EST 2009


Devin, see my other reply...

The pass does not work when using setProp on a customProperty Array.

Thanks though,

Tom McGrath III
Lazy River Software
3mcgrath at comcast.net

iTunes Library Suite - libITS
Information and download can be found on this page:
http://www.lazyriversoftware.com/RevOne.html





On Jan 21, 2009, at 12:14 PM, Devin Asay wrote:

>
> 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
>
> _______________________________________________
> use-revolution mailing list
> use-revolution at lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your  
> subscription preferences:
> http://lists.runrev.com/mailman/listinfo/use-revolution




More information about the Use-livecode mailing list