Re: NSTableView and scrollToPoint:
Re: NSTableView and scrollToPoint:
- Subject: Re: NSTableView and scrollToPoint:
- From: Kyle Sluder <email@hidden>
- Date: Sat, 19 Nov 2011 09:33:33 -0800
On Nov 19, 2011, at 2:06 AM, Peter Hudson <email@hidden> wrote:
> Hi All
>
> I use scrollToPoint: to position a table.
>
> When I then use the mouse to scroll the table, as soon as I start the drag the table moves sharply to what looks like the location it was at before scrollToPoint: was sent.
You're using the wrong method. You want to call -scrollPoint: on the table view. This will wind up calling -scrollToPoint: on its enclosing clip view. (Yes, the naming scheme is terribly confusing.)
--Kyle Sluder_______________________________________________
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