Displaying menus beyond the first card

Jeanne A. E. DeVoto jeanne at runrev.com
Sun Jan 20 02:43:06 EST 2002


At 10:00 AM -0800 1/18/2002, Richard D. Miller wrote:
>OK. I see that I actually have to copy and paste the menubar group onto each
>card. I suppose that makes sense...just different from other programs I've
>worked with.

No, no, don't copy and paste - this puts a separate group on each card, so
if you ever make changes to the menu bar, you'll need to do it once for
each card.

Instead, you need to place the group onto each card (which you can do with
the place command, or the Place Group item in the Object menu). This causes
the same group to appear on each card where you place it, so changes you
make on one card are reflected on all the others (since there's only one
group that appears on multiple cards).

(The backgroundBehavior property, as some people have already mentioned,
does this automatically when you create a new card. The result is the same,
it's just automatic instead of manual.)

--
Jeanne A. E. DeVoto ~ jeanne at runrev.com
http://www.runrev.com/
Runtime Revolution Limited - Power to the Developer!





More information about the use-livecode mailing list