Re: drop location
Re: drop location
- Subject: Re: drop location
- From: Koen van der Drift <email@hidden>
- Date: Sat, 19 Jun 2004 17:26:00 -0400
On Jun 19, 2004, at 2:56 PM, Louis C. Sacha wrote:
NSPoint drawLocation = [destinationView convertPoint:[sender
draggingLocation] fromView:nil];
[[[self document] drawing] addItemWithName: itemTag atLocation:
drawLocation];
Thanks, that did it. After I posted the question I found convertPoint
(of course :), but I was using the tableview as the fromView, so it
didn't work as expected. Using nil solved it.
- Koen.
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.