home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #18 / NN_1992_18.iso / spool / comp / sys / next / programm / 5685 < prev    next >
Encoding:
Text File  |  1992-08-18  |  919 b   |  26 lines

  1. Newsgroups: comp.sys.next.programmer
  2. Path: sparky!uunet!munnari.oz.au!bruce.cs.monash.edu.au!monu6!ede978e
  3. From: ede978e@monu6.cc.monash.edu.au (Robert D. Nicholson)
  4. Subject: Playing with PopUp's
  5. Message-ID: <1992Aug19.035329.28491@monu6.cc.monash.edu.au>
  6. Summary: Playing with PopUp's
  7. Organization: Monash University, Caulfield Campus
  8. Date: Wed, 19 Aug 1992 03:53:29 GMT
  9. Lines: 15
  10.  
  11. I wish to set the title of my popUp and this is working properly but for one thing.  I basically just want to select an item programatically but also have its action sent to its target.  Currently the action is not sent.
  12.  
  13. I have this code.
  14.  
  15. popUp = [[NXApp employeePanel] popUp];
  16. if (popUp) {
  17.    Matrix *popUpMatrix = [[popUp target] itemList]; 
  18.    [popUp setTitle: [[popUpMatrix findCellWithTag:1] title]];
  19. }    
  20.  
  21. This code just has a cosmetic affect it doesn't actually message the target.
  22.  
  23. Is this how setTitle is suppose to work?
  24.  
  25.  
  26.