• 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: Scrolling not working ...
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Scrolling not working ...


  • Subject: Re: Scrolling not working ...
  • From: vincent habchi <email@hidden>
  • Date: Wed, 7 Jul 2010 11:11:12 +0200

Le 7 juil. 2010 à 08:42, Jay Reynolds Freeman a écrit :

> I have has reasonable values.  The actual code is based on the
> example for program-controlled scrolling in the documentation, and
> goes like this:
>
>  NSPoint scrollerOrigin = [[<an NSScrollView> contentView] bounds].origin;
>
> Then, later:
>
>  [[<the same NSScrollView> documentView] scrollPoint:scrollerOrigin];
>
> And no scrolling takes place.

Did you try:
[[<the same NSScrollView> documentView] scrollPoint:NSMakePoint(0, 0)]; ?

Vincent

_______________________________________________

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: 
 >Scrolling not working ... (From: Jay Reynolds Freeman <email@hidden>)

  • Prev by Date: Re: Accessing address bar data from Safari extension
  • Next by Date: Custom control and cells
  • Previous by thread: Scrolling not working ...
  • Next by thread: Re: Pass-by value… warning
  • Index(es):
    • Date
    • Thread