Path: utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!ames!eos!shelby!polya!ali From: ali@polya.Stanford.EDU (Ali T. Ozer) Newsgroups: comp.sys.next Subject: Re: problem with Interface Builder Action Messasges Message-ID: <11044@polya.Stanford.EDU> Date: 2 Aug 89 14:50:12 GMT References: <56535@tut.cis.ohio-state.edu> Sender: Ali T. Ozer Reply-To: aozer@NeXT.com (Ali T. Ozer) Organization: . Lines: 12 In article <56535@tut.cis.ohio-state.edu> Mark Jansen writes: >I then query the sender of the message for its tag and am getting the >wrong tag number. Apparently the tag is from the matrix or box that contains >the button pressed. If the whole matrix is connected to the target, then "tag" will indeed refer to the matrix's tag. You can use the "selectedTag" method (which is simply a short-cut for sending "tag" to the "selectedCell") to get the tag of the button that was actually pressed. Ali Ozer, NeXT Developer Support aozer@NeXT.com