Re: How to make sure that particular item is visible in NSOutlineView
Re: How to make sure that particular item is visible in NSOutlineView
- Subject: Re: How to make sure that particular item is visible in NSOutlineView
- From: Michael Babin <email@hidden>
- Date: Sun, 21 Aug 2005 12:31:04 -0500
On Aug 18, 2005, at 7:11 AM, Andrei Tchijov wrote:
In my application I have an outline view which displays hierarchy
of items and other view which shows details for selected item. My
problem is that at start-up I want to focus on particular item from
the hierarchy. How can I make sure that:
1) All "parent" items of my target item are expanded,
- (void)expandItem:(id)item
- (void)expandItem:(id)item expandChildren:(BOOL)expandChildren
2) NSOutlineView scrolled properly to make target item visible.
- (void)scrollRowToVisible:(int)rowIndex
--
Michael Babin email@hidden
Order N Development, LLC http://www.orderndev.com/
Goldfish Aquarium for Mac: http://www.lifeglobe.com/product/
index.php?pltid=2&ref=OrderNDev
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden