Re: Promised file drag/drop catch 22?
Re: Promised file drag/drop catch 22?
- Subject: Re: Promised file drag/drop catch 22?
- From: Allan Odgaard <email@hidden>
- Date: Sun, 2 May 2004 09:13:21 +0200
On 1. May 2004, at 14:19, Tim Hewett wrote:
[...] a drop from one table view to the other requires different
behaviour to
that for a drop from the Finder, and the problem I'm having in
particular
is to do with having the table receiving the drop being able to tell
the
difference to implement this different behaviour.
Sorry, I did not read all of your letter, so I hope the above was the
essence of your problem. In performDragOperation you can send
draggingSource to the sender argument to get the actual view which is
sending the data. Have it e.g. implement some selector to identify
itself, which you can then send from performDragOperation, or you can
make use of the fact that source is nil when it is not in the same
application.
_______________________________________________
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.