• 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: Dragging Images And Strings Together
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Dragging Images And Strings Together


  • Subject: Re: Dragging Images And Strings Together
  • From: John Blackburn <email@hidden>
  • Date: Thu, 21 Mar 2002 10:46:57 -0800

Rather than setting setString:ForType, use setPropertyList:forType like this:

[pboard setPropertyList:myStringsArray forType: NSStringPboardType];

John Blackburn

On Thursday, March 21, 2002, at 09:54 AM, John Nestor wrote:

I am dragging images among various views - no problem here.

I want two strings to accompany the image in the drag. I can get
one string to travel by using TIFF and String drag types on the
dragging pasteboard.

I can't figure out how to get more than one string to travel with the drag.
Is there a drag type that is an array in disguise, or should I create a new
drag type that is the array, or ... ??
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.

References: 
 >Dragging Images And Strings Together (From: John Nestor <email@hidden>)

  • Prev by Date: Re: isKindOfClass vs. loading bundles: nope?!?!?!?
  • Next by Date: Re: toplevel window from an object
  • Previous by thread: Dragging Images And Strings Together
  • Next by thread: How can I open an Internet connection
  • Index(es):
    • Date
    • Thread