home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #26 / NN_1992_26.iso / spool / comp / sys / next / programm / 7186 < prev    next >
Encoding:
Internet Message Format  |  1992-11-12  |  1.5 KB

  1. Path: sparky!uunet!ogicse!emory!swrinde!news.dell.com!math.utexas.edu!ut-emx!ccwf.cc.utexas.edu
  2. From: jdawson@ccwf.cc.utexas.edu (John Dawson)
  3. Newsgroups: comp.sys.next.programmer
  4. Subject: Transorming leaf to nonleaf & expand with one mouse click in NXBrowser
  5. Summary: How do you DO it?
  6. Message-ID: <83455@ut-emx.uucp>
  7. Date: 12 Nov 92 17:19:11 GMT
  8. Article-I.D.: ut-emx.83455
  9. Sender: news@ut-emx.uucp
  10. Organization: Arissoft Development Corporation
  11. Lines: 23
  12.  
  13. HeaderViewer has a neat UI for flattening parts of its browser tree;
  14. you can control-click on nodes with a tree of subnodes underneath, and
  15. get a flattened version of the tree displayed there.  Very slick;
  16. HeaderViewer is a shining gem of user interface design, IMHO.
  17.  
  18. But what I want to do in my app is control click on nodes which can be
  19. LEAF nodes, and expand them.  See, each node in my tree has an array
  20. associated with it, and I want to display the contents of the array
  21. underneath the node in the browser.  If I control-click on the node, I
  22. can have my browser:fillMatrix:inColumn: method change the node from
  23. leaf to nonleaf, if necessary, but it's too late then; the NXBrowser
  24. has already gotten the click and interpreted it as a click on a leaf
  25. node.  I can't expand the node in the browser until the next mouse
  26. click.
  27.  
  28. What I'd like would be a method like "performClickOnSelectedCell" that
  29. I could send to the NXBrowser, or better yet, "expandSelectedCell".
  30. Nothing resembling these facilities seem to be present.  Anybody have
  31. ideas on how to fake it?
  32.  
  33. Thanks in advance.
  34. -- 
  35. jdawson@ccwf.cc.utexas.edu (John Dawson)
  36.