copy group to substack?

Charles Hartman charles.hartman at conncoll.edu
Thu Aug 4 10:29:59 EDT 2005


I know my explanation was a mess; sorry.

Following your Place suggestion (thanks, I'd forgotten that command),  
I've tried this:
1. in a handler in the main stack, copy the correct group to the  
substack (NOT a card
     in a substack); rename it (from "lineimagegroup7" or  
"lineimagegroup3" or whatever
     to "lineImage")
2. in the openCard handler in the substack, issue a command "place  
group 'lineImage'
     of this stack onto this card"
When I do that, I get an error message: "group is not in this stack  
or is already on this card".

Charles


On Aug 4, 2005, at 9:59 AM, Eric Chatonet wrote:

> Hi Charles,
>
> To be frank, I don't understand very well the problem.
> But just a thought:
> You could try to copy your group on the first card (or not) of your  
> substack, and then place it (see the place command) onto the other  
> cards where you need it.
> Hope this can help...
>
> Le 4 août 05 à 15:53, Charles Hartman a écrit :
>
>
>> I'm really baffled. Following suggestions on list, I'm handling  
>> the transfer of data to a "dialog" substack by copying a group.  
>> The group contains an image and a lot of little fields. The  
>> substack has two cards. I do the copy command in a button handler  
>> in a card in the main stack. The groups are kept (invisibly) on  
>> the same card, and each button press selects one for copying to  
>> the substack. The copied group needs to show up in both cards  
>> (each card) in the substack.
>>
>> I'm getting every kind of confusion. I've tried copying to the  
>> substack itself. But its accessibility within each of the two  
>> cards in the stack seems haphazard (sometimes different groups  
>> show up on the two cards! so I'm doing _something_ wrong in the  
>> copy). I've tried copying the group to the first card in the  
>> substack, but I'm having trouble getting a copy to the second card  
>> that I then need to do can't find it.
>>
>> In other words, I'm not understanding how this works. Is it groups  
>> I don't understand (their relation to a _stack_ or a _card in the  
>> stack_ -- these groups are _not_ marked with a background  
>> property, by the way, either in the main stack or in the  
>> substack)? Or is it copy? I rename "it" right after copying the  
>> group to the substack (this is how I keep from needing to specify  
>> which main-stack group I'm working with while I'm in the  
>> substack); is that getting me in trouble? I've been over the docs  
>> several (many) times, and can't find out where the gap in my  
>> conception is.
>>
>> I hope this makes enough sense to be answerable -- it doesn't make  
>> much sense to me any more.
>>
>> Charles Hartman
>>
>
>
> Best Regards from Paris,
>
> Eric Chatonet.
> ----------------------------------------------------------------
> So Smart Software
>
> For institutions, companies and associations
> Built-to-order applications: management, multimedia, internet, etc.
> Windows, Mac OS and Linux... With the French touch
>
> Free plugins and tutorials on my website
> ----------------------------------------------------------------
> Web site        http://www.sosmartsoftware.com/
> Email        eric.chatonet at sosmartsoftware.com/
> Phone        33 (0)1 43 31 77 62
> Mobile        33 (0)6 20 74 50 86
> ----------------------------------------------------------------
>
> _______________________________________________
> 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