one button, many cards?

Klaus Major kmajor at metascape.org
Wed Feb 27 03:59:01 EST 2002


Hi Zac,

> Is there a way to create a button (say a back or forward button that 
> moves
> between cards of a stack) and have that button show up on all the cards
> automagically?
>
> can I just set some property of the button to enable this?

you just have to group that (yes, single) button, check the "Background 
Behaviour"
of that new group et voila, you can place that button on every card...

When the background beh. is checked, that group will be placed on every
new created card automatically.

If you created that group after creating 1 zillion cards, no problem, 
you do not have to
place that background manually ;-)

As always, let RR/MC do the work for you:

on mouseup ## or whenever...
   get the num of cds
   repeat with i = 1 to it
      place bg "your_group_name_her" onto cd i
   end repeat
end mouseup

> thanks

You're welcome...

> -zac


Have fun...


Regards

Klaus Major
kmajor at metascape.org




More information about the Use-livecode mailing list