Page 1 of 1

Backgrounds

Posted: Wed Feb 09, 2011 3:15 pm
by jsburnett
I've used hypercard in the past.
With hypercard, even after cards were created in a stack, changes to a background such as adding a field or button or changing a script in one of them occurs - it occurs on all cards (newly created or not). However with LiveCode it only changes 'new' cards.
Does anyone have a work around?

Thanks

JSB

Re: Backgrounds

Posted: Wed Feb 09, 2011 3:43 pm
by Klaus
Hi JS,

well, LiveCode will behave the same as HyperCard did in this respect, adding/removing objects to already placed "backgrounds"
will be reflected on every card where this bg has been placed! So the culprit must anywhere else.

What exactly did you do?
Are you sure yo do not have two (almost) identical named backgrounds?


Best

Klaus

Re: Backgrounds

Posted: Wed Feb 09, 2011 4:19 pm
by BvG
Most likely you didn't place the background on the already existing cards. You need to do that, because unlike HyperCard, LiveCode can have several background, so there's additional management to do. So check out the "place" command out.

Re: Backgrounds

Posted: Wed Feb 09, 2011 11:48 pm
by jsburnett
Okay,
I checked it out and yea, it does do that.
I never used "set the editBackground of this stack to true" before.
Thanks.

JS