How to add a field to a stack of 50 cards

Jason Rippetoe jason at rippetoe.com
Tue Nov 18 12:35:49 EST 2003


On Tuesday, November 18, 2003, at 10:47  PM, Phil Davis wrote:

>
>> I have used a group as a background in my current project, but when
>> adding another item to the group I get a warning that the group will 
>> be
>> removed from any other cards which use it. Then I have to manually
>> place the group back on the cards that Rev removed it from. Luckily,
>> it's easy to do with a script from the message box, but is there a way
>> to add items to a group without having Rev remove the group from the
>> cards where it currently resides?
>
>
> Jason -
> Please be patient with me while I get real simple. I'm just trying to
> understand what's going on.
>
> When I add controls to a group, I select the group in the Application
> Browser and click the "Edit Group" button in the Rev task bar (or 
> whatever
> it's called). This hides everything else on the current card and lets 
> me do
> what I want to the controls in the group, or add new ones. When I'm 
> done I
> 'unclick' the "Edit Group" button and I'm back where I started. Is this
> similar to your approach?
>
> I've never had the results you've described here; how are you doing it?
>
> Phil Davis
>

Real simple? That's what I need, Phil!

What I WAS doing was (for example), creating a new button and then 
shift-clicking an existing group and clicking the "Group" button in the 
Rev toolbar. Then it gave me the following message in a dialog box:

"Some of the objects you are about to group are already group(s) placed 
on multiple cards. These group(s) will be removed from other cards and 
added to the new group you are creating. If you have fields with 
separate text on each card in these group(s), this text will be lost."

So I assumed this was normal behavior and I grumblingly clicked OK and 
then scripted a "place bg on this card, go to next card" to put the new 
group back on the cards it had just removed the group from!

I guess I missed something when I read up on groups.

Your way is much, much better. Thank you.

-Jason



More information about the use-livecode mailing list