• 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
Forcing a scroll to the top of an NSScrollView
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Forcing a scroll to the top of an NSScrollView


  • Subject: Forcing a scroll to the top of an NSScrollView
  • From: Adam Holt <email@hidden>
  • Date: Thu, 04 Aug 2005 15:57:34 +0100

Hi,

I'm trying to force my scrollview to scroll to the top.  I've tried a few
things but neither have worked, including:

        [myScrollView scrollPoint:NSZeroPoint];

... which seemed to do nothing, and:

        [[myScrollView verticalScroller] setFloatValue:0.0];

... which moved the scroller itself to the top, but didn't actually scroll
the view (i.e. Scroller and view no longer synched).

Can somebody please suggest a method that works for this?

Thanks,

Adam.


 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden

  • Follow-Ups:
    • Re: Forcing a scroll to the top of an NSScrollView
      • From: Pontus Ilbring <email@hidden>
  • Prev by Date: Re: Basic instinct
  • Next by Date: Re: NSTableView bottleneck
  • Previous by thread: Re: Capturing mousedown in WebFrameView
  • Next by thread: Re: Forcing a scroll to the top of an NSScrollView
  • Index(es):
    • Date
    • Thread