• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: create text that's dragable.
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: create text that's dragable.


  • Subject: Re: create text that's dragable.
  • From: email@hidden
  • Date: Fri, 30 Nov 2001 11:43:09 -0800

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


  • Follow-Ups:
    • Re: create text that's dragable.
      • From: Andre Lipinski <email@hidden>
  • Prev by Date: RE: NSTableColumn connection in NSView?
  • Next by Date: Looking for alpha channel solution for transparencies
  • Previous by thread: create text that's dragable.
  • Next by thread: Re: create text that's dragable.
  • Index(es):
    • Date
    • Thread