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: create text that's dragable.



I know how to over mousedown, but I don't know how to initiate the drag. What needs to be done? Yes, I can implement the dragging protocols also.

mac
On Friday, November 30, 2001, at 09:26 AM, David Remahl wrote:

The IB case is special, since what you are 'dragging' is actually an image
representation of an actual control. The same effect can be achieved through
overriding stuff though...I would suggest overriding mousedown to initiate
the drag and then implement the dragging protocols. More info in NSView
docu.

/ david

Hello all,

In IB one can grab "Message Text" with the mouse quickly and drop it on
a view. How can I program text to allow this? Any examples for the
source text? The only way I've been able to drag text is to select it
with the mouse first.

mac




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.