Adding a scrolling field to a stack of cards
Joe Lewis Wilkins
pepetoo at Cox.Net
Mon Feb 12 23:16:02 EST 2007
Thank you Sarah. Not as easy as backgrounds in HC, but I can see it
is more flexible. It was the "Place Group" that made it a puzzle. So
the steps are:
1. Create an object
2. With that object selected, choose "Group" from the menu or ToolBar
3. Open the object's Property Inspector
4. Check the "Behave as Background" checkbox or set the
backgroundBehavior to true
5. Go to each card and choose "Place Group" from the Object Menu
OR, with a large number of cards, write a script to accomplish the
above actions.
Joe Wilkins
On Feb 12, 2007, at 7:46 PM, Sarah Reichelt wrote:
>> I have the beginnings of an application/stack. I've created the menus
>> which are a group, appear with all cards; but I now want to add a
>> scrolling text field with it's contents to all of the cards in the
>> easiest possible manner. How? Involves some more grouping, but I
>> don't see how.
>
> Create your field, select it and choose "Group" from the menu or
> toolbar. It doesn't matter if there is only 1 object in a group. Then
> in the group's properties set the backgroundBehavior to true. This
> will make it appear on every new card, but it needs to be manually
> placed on all existing cards. Go to every card and choose "Place
> group" from the Object menu. If you have more than a few cards, it
> might be worth writing a script to do the placing - look up 'place' in
> the dictionary.
>
> As with Hypercard's backgrounds, this group is a single object even
> though it appears on all cards, so editing it on one card applies to
> all. Set sharedText to true or false depending on whether you want the
> text to be the same on every card.
>
> HTH,
> Sarah
> _______________________________________________
> use-revolution mailing list
> use-revolution at lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your
> subscription preferences:
> http://lists.runrev.com/mailman/listinfo/use-revolution
More information about the use-livecode
mailing list