• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Drag & Drop
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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.


  • Follow-Ups:
    • Re: Drag & Drop
      • From: Michael Becker <email@hidden>
References: 
 >Drag & Drop (From: Michael Becker <email@hidden>)

  • Prev by Date: Re: Recreating Mail.app's red "new email count" dot (in the dock)
  • Next by Date: RE: Giving a NSToolbaritem a command key...?
  • Previous by thread: Drag & Drop
  • Next by thread: Re: Drag & Drop
  • Index(es):
    • Date
    • Thread