Re: Adding drag-n-drop support to NSButton ? Answer to myself
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.