copy field to stack of unknown name

Dan Shafer revdan at danshafer.com
Tue Feb 15 17:36:53 EST 2005


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:

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

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

Dan



More information about the use-livecode mailing list