Graphics in groups
hh
hh at hyperhh.de
Thu Jun 1 14:54:02 EDT 2017
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.
More information about the use-livecode
mailing list