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 (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/evan.moseman%40gmail.com

This email sent to evan.mose...@gmail.com

_______________________________________________

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 arch...@mail-archive.com

Reply via email to