How can I prevent drag-and-drop initiation in an NSTextField
How can I prevent drag-and-drop initiation in an NSTextField
- Subject: How can I prevent drag-and-drop initiation in an NSTextField
- From: Michael Crawford <email@hidden>
- Date: Tue, 16 Aug 2011 13:15:31 -0400
I have a window that contains an NSTextField instance. When the textfield contains text, I can select it with a single click. I want to preserve that behavior. When I click (mouseDown) and hold, the cursor changes to an arrow and drag-and-drop (d&d) is initiated. I want to disable this behavior.
I don't know enough about the internals of how d&d is implemented, can some one give me a clue about how to disable this second behavior?
-Michael
_______________________________________________
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