Locality of control references
J. Landman Gay
jacque at hyperactivesw.com
Sat Mar 14 23:01:22 EDT 2015
On 3/14/2015 9:15 PM, Peter Haworth wrote:
> I can easily fix the issue by setting the defaultStack to the stack my
> preOpenCard handler is on (I think) but shouldn't any control references
> refer to the card the preOpenCard handler is executing on unless the
> default stack has been changed to something else?
I think the defaultstack actually was changed when the drop occurred. I
usually just use "of me" in these types of object references so I don't
have to worry about where the defaultstack is.
--
Jacqueline Landman Gay | jacque at hyperactivesw.com
HyperActive Software | http://www.hyperactivesw.com
More information about the use-livecode
mailing list