• 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: Disabling selection of files in NSOpenPanel
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Disabling selection of files in NSOpenPanel


  • Subject: Re: Disabling selection of files in NSOpenPanel
  • From: Kevin Wojniak <email@hidden>
  • Date: Tue, 28 Sep 2010 14:19:07 -0700

Take a look at panel:shouldShowFilename:


On Sep 28, 2010, at 1:14 PM, Dave DeLong wrote:

> Hi everyone,
>
> I'm using NSOpenPanel, and I'd like the ability to disable files and folders under certain conditions (for example if a file is on an external drive versus the boot volume).  10.6 introduced a delegate method called "panel:shouldEnableURL:" which would be perfect, but I need a Leopard-compatible solution.
>
> Any ideas how I could do this?
>
> Thanks,
>
> Dave_______________________________________________
>
> 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

_______________________________________________

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

References: 
 >Disabling selection of files in NSOpenPanel (From: Dave DeLong <email@hidden>)

  • Prev by Date: Re: I want a window's file owner that's not a NSWindowController
  • Next by Date: [MEET] CocoaHeads Mac Developer Meetings
  • Previous by thread: Disabling selection of files in NSOpenPanel
  • Next by thread: [MEET] CocoaHeads Mac Developer Meetings
  • Index(es):
    • Date
    • Thread