• 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: Adding drag-n-drop support to NSButton ? Answer to myself
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Adding drag-n-drop support to NSButton ? Answer to myself


  • Subject: Re: Adding drag-n-drop support to NSButton ? Answer to myself
  • From: Jérome Foucher <email@hidden>
  • Date: Wed, 26 Nov 2003 17:01:16 +0100

On 26 nov. 03, at 15:48, Jirome Foucher wrote:

Hi all,

From what I understand, a NSButton does not support drag-n-drop (If I'm wrong, don't read the answer and please let me know what I did wrong. I implemented the draggingEntered, draggingExited, performDragOperation methods and called registerForDraggedTypes for my NSButtonbut but to no avail... The same implementation on a NSImageView works)

So is there a way to let my NSButton accept dropped items on it ?

Thanks
Jerome

Ok. Thanks to Stiphane Sudre, a NSButton DOES support drag-n-drop. So it's my code's fault. A good sleep and I'll surely find what's wrong.

Sorry for the post,
Jerome
_______________________________________________
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: 
 >Adding drag-n-drop support to NSButton ? (From: Jérome Foucher <email@hidden>)

  • Prev by Date: Re: ZeroLink and dynamic discovered Classes
  • Next by Date: Re: ZeroLink and dynamic discovered Classes
  • Previous by thread: Adding drag-n-drop support to NSButton ?
  • Next by thread: Regex lib for NSString ?
  • Index(es):
    • Date
    • Thread