Re: Scrolling not working ...
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