On 3 Aug 2008, at 04:35, Gerriet M. Denkmann wrote:
On 3 Aug 2008, at 05:51, Jonathan Dann wrote:On 1 Aug 2008, at 14:04, Gerriet M. Denkmann wrote:But all disclosure triangels are now closed. Is there some way to reopen them to the previous state? I have the strong feeling that I will have to handle this myself. Ok. So be it.It's a common problem. Can I point you here: http://www.cocoabuilder.com/archive/message/cocoa/2008/2/23/199705Thank you very much for this link. You provide there a very clever solution, but, as you aptly put in your posting: "It uses NSTreeNode and -representedObject, so is 10.5 only." But alas!, I need Tiger 10.4.11. (And am reluctant to use private methods which you hint at in your psoting).Kind regards, Gerriet.
Ah, sorry about that, I didn't realise. What you can do is have a look at
http://www.wilshipley.com/blog/2006/04/pimp-my-code-part-10-whining-about.htmlWil gives a few category methods like -objectAtIndexPath: You can (maybe) get the index path the _NSArrayControllerTreeNode and then get your real object, in which you have an isExpanded flag.
HTH, Jonathan http://espresso-served-here.com
smime.p7s
Description: S/MIME cryptographic signature
_______________________________________________ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) Please do not post admin requests or moderator comments to the list. Contact the moderators at cocoa-dev-admins(at)lists.apple.com Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com This email sent to [EMAIL PROTECTED]