Re: Synchronized scrollbars (NSScrollView and NSBrowser)
Re: Synchronized scrollbars (NSScrollView and NSBrowser)
- Subject: Re: Synchronized scrollbars (NSScrollView and NSBrowser)
- From: arri <email@hidden>
- Date: Tue, 14 Aug 2007 18:54:28 +0200
On Aug 14, 2007, at 3:47 PM, Marcus Karlsson wrote:
I now got it working. Almost. By using the enclosingScrollView
method, the NSBrowser and the NSScrollView is synchronized, but
only when I use the NSScrollView's scrollbar. Not the opposite. The
problem is that NSBrowser does not inherit from NSScrollView, and I
can't set the NSBrowser's enclosing scrollview to SynchroScrollView.
Marcus
never tried it, but maybe you can simply bind the scrollValues of the
scrollbars of the two views?
gr.
- -
O•o•O
\-/
-----
Scanned for virus and spam
_______________________________________________
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