Re: How can I prevent drag-and-drop initiation in an NSTextField
Re: How can I prevent drag-and-drop initiation in an NSTextField
- Subject: Re: How can I prevent drag-and-drop initiation in an NSTextField
- From: Kyle Sluder <email@hidden>
- Date: Tue, 16 Aug 2011 11:02:47 -0700
On Tue, Aug 16, 2011 at 10:15 AM, Michael Crawford
<email@hidden> wrote:
> 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 guess the question is why? That's a system-supported way of moving
text around in an NSTextView.
--Kyle Sluder
_______________________________________________
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