• 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
Drag & Drop: PREVENT file move
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Drag & Drop: PREVENT file move


  • Subject: Drag & Drop: PREVENT file move
  • From: Houdah - ML Pierre Bernard <email@hidden>
  • Date: Fri, 12 Dec 2008 00:11:47 +0100

Hi!

My application shows a list of files in a table view.

I have implemented drag and drop so that users may drag files from the list. I could envision them dragging the files onto other applications for viewing or dragging them on a removable media to create archive copies.

The problem occurs when the user drags the file to another folder on the same disk. By default, the Finder then wants to move the file. I need to prevent just that as it will cause havoc. For one, I would lose track of the file.

Is there a way for the originating application to control the allowed drag operations?

Best,
Pierre Bernard
_______________________________________________

Cocoa-dev mailing list (email@hidden)

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden


  • Follow-Ups:
    • Re: Drag & Drop: PREVENT file move
      • From: Nathan Vander Wilt <email@hidden>
  • Prev by Date: Re: Countdown With NSTimer - Hours, Minutes, Seconds Remaining?
  • Next by Date: Announce the time every 30 minutes
  • Previous by thread: Re: [ANN] AppKiDo{-for-iPhone} 0.982
  • Next by thread: Re: Drag & Drop: PREVENT file move
  • Index(es):
    • Date
    • Thread