Re: Drag & Drop
Re: Drag & Drop
- Subject: Re: Drag & Drop
- From: Allan Odgaard <email@hidden>
- Date: Tue, 2 Mar 2004 15:55:15 +0100
On 2. Mar 2004, at 14:56, Michael Becker wrote:
I have an NSTabView that contains an NSScrollView [...] will the
TableView catch all drags and not pass them on to the scrollview?
Where is the table view? is it inside the scroll view? is it setup to
receive dragged items? if yes, then it will most likely swallow the
events -- but then in reality, isn't it the table view you want to
setup to receive the drops?
I registered correctly (i think) for dragging types and am honestly a
little lost here. Any suggestions?
If you are not 100% sure that you did it correct, then you should post
the code so that we may inspect it! Asking us to guess what you did
wrong without showing us what you did, is really just wasting our
time...
But if you are dragging into a table view, the problem might be that
you haven't overloaded draggingSourceOperationMaskForLocal: to return
YES.
You may also search the net for the hundreds of examples of doing
drag'n'drop.
_______________________________________________
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.
References: | |
| >Drag & Drop (From: Michael Becker <email@hidden>) |