Help Please
Richard Gaskin
ambassador at fourthworld.com
Sat Nov 15 18:42:15 EST 2003
Steve Laming wrote:
> Hi I am new to revolution, I would like to be able to change the background
> color of an image from a button.
>
> I have tried set backgroundColor but I get the error:
>
> There was an Execution Error at 11:34:24 PM
> Error description: Object: can't set object property
> Object: button id 1898 of card id 1002 of stack "C:/Program
> Files/Revolution 1.1.1/My Programs/Guitar/Scales.rev"
> --------------------
> set backgroundColor of graphic 605 to 0,0,0
> --------------------
> Value: 605
>
> The graphic has a name of 605
>
> Do I need to enable any options to allow this. Or am I going about it the
> wrong way.
605 is the ordinal number, the 605th graphic on the card.
If you mean ID, use:
set backgroundColor of graphic ID 605 to 0,0,0
--
Richard Gaskin
Fourth World Media Corporation
___________________________________________________________
Ambassador at FourthWorld.com http://www.FourthWorld.com
Tel: 323-225-3717 AIM: FourthWorldInc
More information about the use-livecode
mailing list