Re: NSTableView and scrollToPoint:
Re: NSTableView and scrollToPoint:
- Subject: Re: NSTableView and scrollToPoint:
- From: Peter Hudson <email@hidden>
- Date: Sat, 19 Nov 2011 18:46:25 +0000
Thanks for this Kyle - I have however already tried scrollPoint: and I get the same result.
?
Peter
On 19 Nov 2011, at 17:33, Kyle Sluder wrote:
> 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