• 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: NSSavePanel panel:shouldShowFilename:
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: NSSavePanel panel:shouldShowFilename:


  • Subject: Re: NSSavePanel panel:shouldShowFilename:
  • From: Graham Cox <email@hidden>
  • Date: Tue, 16 Nov 2010 10:47:16 +1100

On 16/11/2010, at 10:41 AM, Stephen Blinkhorn wrote:

> Returning NO for NSSavePanel's panel:shouldShowFilename: delegate will grey out/de-activate an item in the file browser but the item can still be selected and doing so copies the file name string into the Save As: text field.
>
> Is this the expected behaviour?  I'd expect that returning NO would prevent the user from selecting that item in any way.  Which it does for folders at least.


The SAVE panel always greys out all filenames, since you're not choosing a file, but saving one. As a convenience, it copies the name of anything you click - occasionally this is handy but it is somewhat odd (but clearly intentional) behaviour really. So I suspect that the delegate method is not contributing to the filename situation, only to stop you going into subfolders.

--Graham


_______________________________________________

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: NSSavePanel panel:shouldShowFilename:
      • From: Stephen Blinkhorn <email@hidden>
References: 
 >NSSavePanel panel:shouldShowFilename: (From: Stephen Blinkhorn <email@hidden>)

  • Prev by Date: NSSavePanel panel:shouldShowFilename:
  • Next by Date: Re: NSSavePanel panel:shouldShowFilename:
  • Previous by thread: NSSavePanel panel:shouldShowFilename:
  • Next by thread: Re: NSSavePanel panel:shouldShowFilename:
  • Index(es):
    • Date
    • Thread