Re: Disabling selection of files in NSOpenPanel
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