Article View: comp.sys.next.programmer
Article #1578Transorming leaf to nonleaf & expand with one mouse click in NXBrowser
From: John Dawson
Date: Thu, 12 Nov 1992 17:19
Date: Thu, 12 Nov 1992 17:19
23 lines
1622 bytes
1622 bytes
HeaderViewer has a neat UI for flattening parts of its browser tree; you can control-click on nodes with a tree of subnodes underneath, and get a flattened version of the tree displayed there. Very slick; HeaderViewer is a shining gem of user interface design, IMHO. But what I want to do in my app is control click on nodes which can be LEAF nodes, and expand them. See, each node in my tree has an array associated with it, and I want to display the contents of the array underneath the node in the browser. If I control-click on the node, I can have my browser:fillMatrix:inColumn: method change the node from leaf to nonleaf, if necessary, but it's too late then; the NXBrowser has already gotten the click and interpreted it as a click on a leaf node. I can't expand the node in the browser until the next mouse click. What I'd like would be a method like "performClickOnSelectedCell" that I could send to the NXBrowser, or better yet, "expandSelectedCell". Nothing resembling these facilities seem to be present. Anybody have ideas on how to fake it? Thanks in advance. -- jdawson@ccwf.cc.utexas.edu (John Dawson)
Technical Details
Message-ID:
<83455@ut-emx.uucp>Path:
arc1-ca.pugleaf.net!sparky!uunet!ogicse!emory!swrinde!news.dell.com!math.utexas.edu!ut-emx!ccwf.cc.utexas.eduShow Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!sparky!uunet!ogicse!emory!swrinde!news.dell.com!math.utexas.edu!ut-emx!ccwf.cc.utexas.edu From: jdawson@ccwf.cc.utexas.edu (John Dawson) Newsgroups: comp.sys.next.programmer Subject: Transorming leaf to nonleaf & expand with one mouse click in NXBrowser Summary: How do you DO it? Message-ID: <83455@ut-emx.uucp> Date: 12 Nov 92 17:19:11 GMT Article-I.D.: ut-emx.83455 Sender: news@ut-emx.uucp Organization: Arissoft Development Corporation Lines: 23