Re: Drag-to-poof and tables
Re: Drag-to-poof and tables
- Subject: Re: Drag-to-poof and tables
- From: Graham Cox <email@hidden>
- Date: Tue, 3 Jun 2008 21:49:14 +1000
In this case though, you are better off using the drag architecture
because tables are set up that way. Probably not impossible to
override whatever and roll your own, but currently it's really easy to
implement table row dragging in the usual way - but I've come to the
same conclusion as Tomas, that dragging *off* to delete an item isn't
very well supported.
cheers, Graham
On 3 Jun 2008, at 5:54 pm, Uli Kusterer wrote:
Am 03.06.2008 um 02:26 schrieb Graham Cox:
I realised after I posted this that of course in this situation you
don't *have* a receiving view which can manipulate the return value.
Well, one could always create four transparent overlay windows to
catch the drag outside the view, but in this case it might be worth
considering that one could just implement one's own dragging code.
DnD is mainly an architecture for cross-application and cross-window
dragging. If you need neither, it's not too difficult to do your own
drawing during mouse tracking instead.
Cheers,
-- Uli Kusterer
"The Witnesses of TeachText are everywhere..."
http://www.zathras.de
_______________________________________________
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