On 7/30/2015 4:34 PM, Mark Wieder wrote:
> Paul Dupuis <paul@...> writes:
>
>> The LC 6.7.5 dictionary entry for setProp has the following:
>>
>> If the custom property you want to control is in a custom property set,
>> use array notation in the first line of the setProp handler, as in the
>> following example:
> Interesting. I do see that in the documentation, but I've never used that.
> The way I've always dealt with custom property sets is to switch context:
>
> set the customPropertySet of <object> to <name>
> set the <property> of <object> to <whatever>
> get the <property> of <object>
> set the customPropertySet of <object> to empty
>
> I think this makes for a cleaner, easier-to-read format anyway.

I agree, but that still doesn't answer if you can use setProp and
getProp handlers with individual custom properties in custom property sets.


_______________________________________________
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