• 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
NSSavePanel runModalForDirectory, set name selection?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

NSSavePanel runModalForDirectory, set name selection?


  • Subject: NSSavePanel runModalForDirectory, set name selection?
  • From: Henrietta Read <email@hidden>
  • Date: Thu, 30 Apr 2009 13:28:58 -0700

Question,

I'm passing a file name such as 'MyTextFile.txt' to NSSavePanel
runModalForDirectory.

When the panel appears the entire string is selected, but I would rather
that just
'MyTextFile' is selected. Is it possible to set the selection to exclude the
file
extension?


Thank you.
_______________________________________________

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

  • Prev by Date: Re: NSXMLParser and NSDocument
  • Next by Date: Creating a custom hierarchical list view
  • Previous by thread: Re: create object from class name held in String?
  • Next by thread: Re: NSSavePanel runModalForDirectory, set name selection?
  • Index(es):
    • Date
    • Thread