copy field to stack of unknown name

Bob Hartley rev at armbase.com
Tue Feb 15 17:54:23 EST 2005


At 22:36 15/02/2005, you wrote:


>On Feb 15, 2005, at 12:54 PM, Bob Hartley wrote:
>
>>--on the other stack I have a button that has the script
>>
>>on mouseUp
>>   copy field "TextField" of stack "Armbase Database Designer" to card 1 
>> of stack "tFileName"
>>end mouseUp
>Probably too obvious, so forgive  me if I'm off base, but:


Hi Dan

thanks for taking a look 22.51 here in scotland and I'm a bit tired so hope 
I make sense.


>1. Is the global tFileName defined in the second stack where this handler 
>lives?

This is defined in the first stack Armbase Database Designer where there is 
a button "new" that clones a stack that the user can name. In the first 
stack there is a button and a field. the button has  the above script. 
(removing the quotes from the tfielname make no difference, still an error) 
The target stack does not have the script.


>2. You want tFileName not in quotations, otherwise you're looking for a 
>stack CALLED tFileName, which is clearly not your intent.
>
>Dan


cheers
Bob


>_______________________________________________
>use-revolution mailing list
>use-revolution at lists.runrev.com
>http://lists.runrev.com/mailman/listinfo/use-revolution
>
>
>
>--
>No virus found in this incoming message.
>Checked by AVG Anti-Virus.
>Version: 7.0.300 / Virus Database: 265.8.7 - Release Date: 10/02/2005


-- 
No virus found in this outgoing message.
Checked by AVG Anti-Virus.
Version: 7.0.300 / Virus Database: 265.8.7 - Release Date: 10/02/2005




More information about the use-livecode mailing list