• 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: NSOulineView scroll position
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: NSOulineView scroll position


  • Subject: Re: NSOulineView scroll position
  • From: Evan Moseman <email@hidden>
  • Date: Wed, 12 Aug 2009 13:56:19 -0400

I haven't tried this yet, but I just looked at IB and created a new NSOutlineView and clicked on the scrollbar and then looked at its bindings. There is a 'value' that can be bound to, I would assume that is its current position, but I haven't verified that. If so you can bind that to user prefs controller and that should take care of maintaining the scrollbar position across app runs.

--
Evan

On Aug 12, 2009, at 12:25 PM, Russell Gray wrote:

I have an NSOutlineView bound to an NSTreeController, that when reloaded - always reloads to the scroll position declared in my awakeFromNib. I would like to reload it to the same scroll position before it was reloaded.

How can I do this.....

thanks in advance.
_______________________________________________

Cocoa-dev mailing list (email@hidden)

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:
This email sent to email@hidden

_______________________________________________

Cocoa-dev mailing list (email@hidden)

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:
This email sent to email@hidden


References: 
 >NSOulineView scroll position (From: Russell Gray <email@hidden>)

  • Prev by Date: CGImageRef printing issue
  • Next by Date: Re: Adding more and more key/value observers is much too slow - workaround needed.
  • Previous by thread: NSOulineView scroll position
  • Next by thread: CGImageRef printing issue
  • Index(es):
    • Date
    • Thread