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

Re: Customizing NSSavePanel


  • Subject: Re: Customizing NSSavePanel
  • From: Scott Anguish <email@hidden>
  • Date: Tue, 30 Dec 2003 15:50:23 -0500

On Dec 30, 2003, at 6:42 AM, Ramakrishna Kondapalli wrote:

> Hi,
> I am using NSSavePanel for choosing a directory for saving a file
> (which
> already has a name). I have already customized NSSavePanel to an exent
> by changing the window title name (setTitle method) and renaming the
> save button (using setPrompt method). I wan't to further customize this
> panel by not showing the 'Save as' text field and also enabling the
> 'save' (or choose in my case) button without the need to specify the
> file name. Is this possible, if yes how? I suppose setAccessory method
> of NSSavepanel is for only adding your additional controls. ...but i
> wan't to manipulate the existing controls in the standard NSSavePanel.
>

yes, this is possible. ironically by not using the NSSavePanel, but
instead the NSOpenPanel.

when you think about it, that's what you want to do. you want to
select a directory, and NSOpenPanel is the tool for that.

[demime 0.98b removed an attachment of type application/pkcs7-signature which had a name of smime.p7s]
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.

References: 
 >Customizing NSSavePanel (From: "Ramakrishna Kondapalli" <email@hidden>)

  • Prev by Date: development vs deployment
  • Next by Date: Re: Clickable textfields ...
  • Previous by thread: Customizing NSSavePanel
  • Next by thread: Re: Screensaver on Jaguar
  • Index(es):
    • Date
    • Thread