Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Drag and drop



Stephen Chu wrote on Thursday, November 17, 2005:
>OK. Enough for the rant. I did find a fix for it thought: Open your  
>com.apple.Xcode.plist in Property List Editor. Find the entry named  
>"NSDragAndDropTextDelay" and set it to "1". It controls the delay  
>time in mS. But DO NOT set it to "0". It doesn't work the same way  
>our typical logic does. Zero means completely disable text drag and  
>drop.

The NSDragAndDropTextDelay property is a delay (in milliseconds), just as the name implies. It is not a 0/1 switch. If you read the documentation for the property, you'd know that you can set it to any delay value, or a non-positive number to disable drag-and-drop entirely.

The delay-before-drag behavior is intentional and useful, but I do prefer a tighter tolerance. I usually set my delay to between 150 and 250 milliseconds. I think the default is closer to 500.

-- 
James Bucanek
 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Xcode-users mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/xcode-users/email@hidden

This email sent to email@hidden

References: 
 >Re: Drag and drop (From: Stephen Chu <email@hidden>)



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.