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 (Cocoa-dev@lists.apple.com) 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: http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com This email sent to arch...@mail-archive.com