drag and delete.
drag and delete.
- Subject: drag and delete.
- From: mac <email@hidden>
- Date: Sun, 16 Dec 2001 12:22:53 -0800
When a drag is performed from a table view and is dropped on the desktop
the finder
creates a file. How do I stop this? What I want is to delete the
column of data.
Using "draggedImage:endedAt:operation", I can determine if they dropped
it in the trash, because the operation will be NSDragOperationDelete,
and delete the column of data no problem.
The type I'm putting on the pasteboard is NSString. Should I change
this?
Also, it does not seem to care about what is returned in
"draggingSourceOperationMaskForLocal", why? I tried returning
NSDragOperationNone and NSDragOperationDelete. Both times I get the
same response.
Thanks for any help,
mac