Graphics in groups

Richmond Mathewson richmondmathewson at gmail.com
Thu Jun 1 15:33:16 EDT 2017


Thankyou very much.

Richmond.

On 6/1/17 9:54 pm, hh via use-livecode wrote:
> Remove the parantheses.
>
> LC tries to handle them as containers.
> For example (btn "B2" of group "BUTTS") is a container,
> e.g. the content of a menu button or any other string you
> put into btn "B2" of group "BUTTS". This works:
>
> put the backGroundColor of btn "B2" of group "BUTTS"
>
>> Richmond wrote:
>> Why, when I do this:
>>
>> putthebackgroundcolorof(grc "h1" ofgroup"JK5")
>>
>> do I get:
>>
>> Error description: Chunk: source is not a container
>>
>> Hint:
>>
>> [useful hint, by the way]
>>
>> ?
>>
>> Interestingly enough when I do this:
>>
>> putthebackGroundColorof(btn "B2" ofgroup"BUTTS")
>>
>> I get this:
>>
>> Error description: Chunk: error in object expression
>>
>> NOW, I thought that was how one refered to members of a group.
> _______________________________________________
> use-livecode mailing list
> use-livecode at lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your subscription preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode




More information about the use-livecode mailing list