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 protected]) > > 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: > http://lists.apple.com/mailman/options/cocoa-dev/kainjow%40kainjow.com > > This email sent to [email protected] _______________________________________________ Cocoa-dev mailing list ([email protected]) 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: http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com This email sent to [email protected]
