home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #16 / NN_1992_16.iso / spool / comp / sys / next / programm / 5393 < prev    next >
Encoding:
Text File  |  1992-07-31  |  1.7 KB  |  44 lines

  1. Newsgroups: comp.sys.next.programmer
  2. Path: sparky!uunet!nic.unh.edu!strangeways.unh.edu!tjb
  3. From: tjb@strangeways.unh.edu (Thomas J. Baker)
  4. Subject: Re: Indentifying menu Items from a target object
  5. Message-ID: <1992Jul31.185615.5646@strangeways.unh.edu>
  6. Sender: tjb@strangeways.unh.edu (Thomas J. Baker)
  7. Reply-To: tjb@strangeways.unh.edu (Thomas J. Baker)
  8. Organization: Baker Consulting  -  Dover, NH
  9. References: <1992Jul31.170612.5317@strangeways.unh.edu>
  10. Date: Fri, 31 Jul 1992 18:56:15 GMT
  11. Lines: 31
  12.  
  13. In article <1992Jul31.170612.5317@strangeways.unh.edu>  
  14. tjb@strangeways.unh.edu (Thomas J. Baker) writes:
  15. > I'm building a submenu on the fly that will contain the names of the  
  16. > current uucp-connected systems:  Here is the code:
  17. > The newMonitor is defined as - newMonitor:sender.  The menu builds  
  18. > beautifully but when testing and choosing one of my new menu items,  
  19. > instead of getting the id of the menuCell in newMonitor, I get the id of  
  20. > the Matrix of menuCells.  
  21. >
  22. > <code deleted>
  23. > How can I set this up so that I can identify which cell sent the  
  24. message?   
  25. > Is this the best way to approach the problem?
  26.  
  27. Following up my own post, Paul Kim (pkim@delft.berkeley.edu) gave me the  
  28. answer I needed.  In newMonitor, I just needed to call 
  29. [sender selectedCell] to get the id of the chosen cell.
  30.  
  31. Thanks,
  32.  
  33. tjb
  34.  
  35. --
  36. +-------------------------------------------------------------------+
  37. | Thomas Baker        Director of the New Hampshire NeXT User Group | 
  38. | P.O. Box 213           Internet/NeXTmail: tjb@strangeways.unh.edu |
  39. | Durham, NH 03824                   Voice: (603) 743-4987          |
  40. +-------------------------------------------------------------------+
  41.