name of opening stack

Klaus Major klaus at major-k.de
Tue Oct 21 15:53:20 EDT 2003


Hi Richard,

> Hello list,
>
> There is a stack1a and a stack 1b; both are able to open a stack2.
> How may stack2 get the name of the stack, which opened it?

I would use a global var :-)

Like:

on mouseup
   global gReferrer
   put the short name of this stack into gReferrer
   toplevel "stack2"
end mouseup

Then you can check that var on openstack and act accordingly...

> Any Ideas?

Just one :-)

> Thany a lot!

Youry welcomy ;-)

> Richard Hillen.

Regards

Klaus Major
klaus at major-k.de
www.major-k.de



More information about the use-livecode mailing list