Re: create text that's dragable.
Re: create text that's dragable.
- Subject: Re: create text that's dragable.
- From: Andre Lipinski <email@hidden>
- Date: Fri, 30 Nov 2001 15:14:27 -0500
There are a couple of ways to do this.
You could drag around a picture of the text using the dragging protocols,
or drag around a text field with no background using your own dragging
implementation.
Andre.
On Friday, November 30, 2001, at 02:43 PM, email@hidden wrote:
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
_______________________________________________
cocoa-dev mailing list
email@hidden
http://www.lists.apple.com/mailman/listinfo/cocoa-dev