• 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: Wain Glaister <email@hidden>
  • Date: Sun, 12 Aug 2007 22:12:15 +0100

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


  • Follow-Ups:
    • Re: Synchronized scrollbars (NSScrollView and NSBrowser)
      • From: Marcus Karlsson <email@hidden>
    • Re: Synchronized scrollbars (NSScrollView and NSBrowser)
      • From: Marcus Karlsson <email@hidden>
References: 
 >Synchronized scrollbars (NSScrollView and NSBrowser) (From: Marcus Karlsson <email@hidden>)

  • Prev by Date: Crash while trying to port Apache module 1.3 to Apache 2.2
  • Next by Date: Re: iPhoto 08 Plugin SDK question
  • Previous by thread: Synchronized scrollbars (NSScrollView and NSBrowser)
  • Next by thread: Re: Synchronized scrollbars (NSScrollView and NSBrowser)
  • Index(es):
    • Date
    • Thread