home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #27 / NN_1992_27.iso / spool / comp / sys / next / programm / 7271 < prev    next >
Encoding:
Internet Message Format  |  1992-11-17  |  1.6 KB

  1. Path: sparky!uunet!ogicse!uwm.edu!linac!uchinews!msuinfo!news
  2. From: lebay@mercury.cl.msu.edu (Jim LeBay)
  3. Newsgroups: comp.sys.next.programmer
  4. Subject: 2 NXBrowser questions
  5. Keywords: browser, ignoreMultiClick
  6. Message-ID: <1992Nov18.074440.4634@msuinfo.cl.msu.edu>
  7. Date: 18 Nov 92 07:44:40 GMT
  8. Article-I.D.: msuinfo.1992Nov18.074440.4634
  9. Sender: news@msuinfo.cl.msu.edu
  10. Reply-To: lebay@msu.edu
  11. Organization: Michigan State University
  12. Lines: 23
  13.  
  14. I've got a couple things I'm trying to do with a browser, and haven't  
  15. figured out yet.  I've got a standard NXBrowser in the top half of an  
  16. NXSplitView, and I'm using a subclass of NXBrowserCell.  I'm compiling  
  17. under NS2.1, and testing/running the program under 3.0.
  18.  
  19. 1)  Where should I send an ignoreMultiClick:YES message?  I've tried  
  20. sending it to the browser, and to the matrix in each column of the  
  21. browser, but neither has worked.
  22.  
  23. 2) In some circumstances I want to abort the addition of a new column.   
  24. I've tried sending the following messages from the browser's delegate,  
  25. which didn't work at all.  Instead I'm sending them from the browser's  
  26. target, which does work, except that the browser flickers back and forth.   
  27. So I tried sending setAutoDisplay:NO to the browser, but it still  
  28. flickers.  What am I doing wrong, or is there a better way to do this?
  29.         [sender setLastColumn:[sender selectedColumn]];
  30.         [sender scrollColumnsRightBy:1];
  31.  
  32. ------
  33. Jim LeBay                            (517) 353-1800
  34. Computer Information Center          lebay@msu.edu
  35. Michigan State University            lebay@mercury.cl.msu.edu (NeXTmail)
  36. *=*=*   I feel better than James Brown!   *=*=*
  37.