Re: NSOulineView scroll position
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