• 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: Synchronized scrollbars (NSScrollView and NSBrowser)
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Synchronized scrollbars (NSScrollView and NSBrowser)


  • Subject: Re: Synchronized scrollbars (NSScrollView and NSBrowser)
  • From: Marcus Karlsson <email@hidden>
  • Date: Sun, 12 Aug 2007 23:34:16 +0200

Hi.

Thanks. I've been looking at the documentation for hours but I must be blind because I missed that. I'll take a look at it.

Marcus


On 12 aug 2007, at 23.12, Wain Glaister wrote:

Hi,

Presumably you have something in your NSScrollView to be seen and scrolled?

Well, the NSBrowser is the same as that content! You may not have noticed this if you added the NSBrowser in IB, but it is actually in an NSScrollView itself.

So you do have two scroll views to synchronise. Look at the NSView '- (NSScrollView *)enclosingScrollView' method.

Wain

On 12 Aug 2007, at 22:00, Marcus Karlsson wrote:

Hi.

I have a NSScrollView and a NSBrowser. Is it possible to synchronize their horisontal scrollbars so that they will follow each other's movements when the user interacts with one of them? I found an article ( http://developer.apple.com/documentation/Cocoa/ Conceptual/NSScrollViewGuide/Articles/SynchroScroll.html ), but it requires two NSScrollViews.

Marcus

_______________________________________________

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: 
 >Synchronized scrollbars (NSScrollView and NSBrowser) (From: Marcus Karlsson <email@hidden>)
 >Re: Synchronized scrollbars (NSScrollView and NSBrowser) (From: Wain Glaister <email@hidden>)

  • Prev by Date: Re: iPhoto 08 Plugin SDK question
  • Next by Date: Multiple NSPredicates to filter an NSArrayController
  • Previous by thread: Re: Synchronized scrollbars (NSScrollView and NSBrowser)
  • Next by thread: Re: Synchronized scrollbars (NSScrollView and NSBrowser)
  • Index(es):
    • Date
    • Thread