• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: How to make sure that particular item is visible in NSOutlineView
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


References: 
 >How to make sure that particular item is visible in NSOutlineView (From: Andrei Tchijov <email@hidden>)

  • Prev by Date: Re: Strange Managed Context Error
  • Next by Date: Re: Strange Managed Context Error
  • Previous by thread: How to make sure that particular item is visible in NSOutlineView
  • Next by thread: Helper tool crashes(without crash logs) at log out
  • Index(es):
    • Date
    • Thread