Re: Where's my "New Folder" button?
Re: Where's my "New Folder" button?
- Subject: Re: Where's my "New Folder" button?
- From: Gus Mueller <email@hidden>
- Date: Thu, 26 Jun 2003 12:09:07 -0700
Gus Mueller (email@hidden) wrote:
>
Lance Drake (email@hidden) wrote:
>
> NSSavePanel seems like the logical choice for an object to select where
>
> to deposit a file. However, there's no way I see to allow the User to
>
> specify 'create a new folder' into which to deposit said file.
>
>
>
> Does anyone have any suggestions about what it the preferred way to do
>
> this?
>
>
As far as I'm aware, there is no public api to do this.
>
>
However, if you call [savePanel _setIncludeNewFolderButton:YES]; it
>
gives you what you want.. at least it does in 10.2-
>
>
Using undocumented api's is not advised, so you might see if there is
>
another way to get what you want besides using this call.
And then as I re-read this message, I realize that you said
"NSSavePanel" and not "NSOpenPanel". Whoops, my fault. As far as I'm
aware, NSSavePanel should have the "New Folder" button on there
already..
sorry if I caused any confusion,
-gus
--
"Christmas means carnage!" -- Ferdinand, the duck
_______________________________________________
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.