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
[email protected]
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode

Reply via email to