Path: utzoo!attcan!uunet!husc6!bbn!mit-eddie!ll-xn!ames!claris!apple!winkler
From: winkler@Apple.COM (Dan Winkler)
Newsgroups: comp.sys.mac.hypercard
Subject: Re: "set name of target" problem
Message-ID: <11416@apple.Apple.Com>
Date: 1 Jun 88 14:58:15 GMT
References: <8724@dartvax.Dartmouth.EDU> <10415@agate.BERKELEY.EDU>
Reply-To: winkler@apple.UUCP (Dan Winkler)
Distribution: comp.sys.mac.hypercard, comp.sys.mac
Organization: Apple Computer Inc, Cupertino, CA
Lines: 13

That's right, after a doMenu "new field" you can refer the field as 
"last field" or "last card field" if it's a card field.  The same
approach works for buttons.

The target is the object to which the message that is currently being
handled was sent.  If handler "foobar" examines "the target" it will
find out which object was first sent "foobar" before it inherited
down to its current handler.  The target does not change during the
execution of handler.  There is nothing a handler can do (you'd be
surprised by what people have tried) to change what it gets when
it evaluates "the target"

Dan.