AW: how to implement more than one background?
Tiemo Hollmann TB
toolbook at kestner.de
Wed Jul 11 08:49:15 EDT 2012
Though your excellent explanations I am still struggling with backgrounds.
I succeeded in creating different card(-sets) with different backgrounds,
but I am still failing in creating two backgrounds with backgroundbehavior =
true on one card(-set). Placing the second (shared) group onto a card
doesn't set the backgroundbehavior to true. Trying to set it manually in the
props editor, it doesn't keep the backgroundbehavior = true, it switches
back to false. So when creating a new card only the first background is
automatically placed on the new card. I can place afterwords manually the
second background onto the new card, but again, it doesn't get the
backgroundbehavior = true.
Both backgrounds are "top-level" groups, so not nested and that is the only
reason for not taking the backgroundbehavior as far as I see. Any
restrictions more for a second background on the same card to look for?
Thanks
Tiemo (LC 4.6.4, Win7)
> -----Ursprüngliche Nachricht-----
> Von: use-livecode-bounces at lists.runrev.com [mailto:use-livecode-
> bounces at lists.runrev.com] Im Auftrag von Klaus on-rev
> Gesendet: Dienstag, 10. Juli 2012 19:08
> An: How to use LiveCode
> Betreff: Re: how to implement more than one background?
>
> Hi Tiemo,
>
> Am 10.07.2012 um 18:52 schrieb Tiemo Hollmann TB:
>
> > Oh great Klaus and Bob!, that's what I was looking for. I wasn't aware
> > of the place command yet :)
>
> Aha, OK, now you know :-)
>
> The difference between a "group" and a "background" in LiveCode is just
the
> way LC "sees/counts" these objects!
> ...
> put the num of grps
> # will show the number of GROUPS on the current card ..
> put the num of bgs
> ## will show the number of ALL groups in the current stack!
> ...
>
> The "backgroundbehavior" property will "only" manage if a group on the
> current card will be placed automatically onto a newly created card.
>
> If I remember right, the "backgroundbehavior" prop will be set to true
> after you "placed" a group onto another card, even if this grp did not
have
> this prop set before.
>
> In any case grps and bgs are very different than they were in HyperCard,
> where you could only have ONE background on a card :-)
>
> > Thanks
> > Tiemo
> >
> > Klaus, you are not familiar with Toolbook?
>
> No, I've been a Mac guy from the beginning, I've used Director but
switched
> to MetaCard when the first Win and Mac versions came out in 1999 and never
> looked back ;-)
>
> > Probably because you can't use ditto!
>
> HA! Komm Du mal nach Hause! :-D
>
>
> Best
>
> Klaus
> --
> Klaus Major
> http://www.major-k.de
> klaus at major.on-rev.com
>
>
> _______________________________________________
> 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