home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: comp.sys.next.programmer
- Path: sparky!uunet!nic.unh.edu!strangeways.unh.edu!tjb
- From: tjb@strangeways.unh.edu (Thomas J. Baker)
- Subject: Re: Indentifying menu Items from a target object
- Message-ID: <1992Jul31.185615.5646@strangeways.unh.edu>
- Sender: tjb@strangeways.unh.edu (Thomas J. Baker)
- Reply-To: tjb@strangeways.unh.edu (Thomas J. Baker)
- Organization: Baker Consulting - Dover, NH
- References: <1992Jul31.170612.5317@strangeways.unh.edu>
- Date: Fri, 31 Jul 1992 18:56:15 GMT
- Lines: 31
-
- In article <1992Jul31.170612.5317@strangeways.unh.edu>
- tjb@strangeways.unh.edu (Thomas J. Baker) writes:
- >
- > I'm building a submenu on the fly that will contain the names of the
- > current uucp-connected systems: Here is the code:
- > The newMonitor is defined as - newMonitor:sender. The menu builds
- > beautifully but when testing and choosing one of my new menu items,
- > instead of getting the id of the menuCell in newMonitor, I get the id of
- > the Matrix of menuCells.
- >
- > <code deleted>
- >
- > How can I set this up so that I can identify which cell sent the
- message?
- > Is this the best way to approach the problem?
- >
-
- Following up my own post, Paul Kim (pkim@delft.berkeley.edu) gave me the
- answer I needed. In newMonitor, I just needed to call
- [sender selectedCell] to get the id of the chosen cell.
-
- Thanks,
-
- tjb
-
- --
- +-------------------------------------------------------------------+
- | Thomas Baker Director of the New Hampshire NeXT User Group |
- | P.O. Box 213 Internet/NeXTmail: tjb@strangeways.unh.edu |
- | Durham, NH 03824 Voice: (603) 743-4987 |
- +-------------------------------------------------------------------+
-