Skip navigation.
 
mlRe: Is there a "select folder" panel?
FROM : Sherm Pendley
DATE : Tue Nov 27 23:56:31 2007

On Nov 27, 2007, at 5:42 PM, John wrote:

> I want to allow my users to select/create a folder,
> where my app
> will save files. So, the user should be able to select
> an existing
> folder, such as Documents, create some other folder
> under it,
> select it and return. Or select an existing folder.
> This is such a basic operation, I am sure
> there is a standard way to do that (other than by
> using mkdir in a terminal). I tried NSOpenPanel, but
> it does not have "New Folder" button.


Don't forget to check the superclass docs too. NSOpenPanel inherits 
the -setCanCreateDirectories: method from NSSavePanel.

sherm--

Web Hosting by West Virginians, for West Virginians: http://wv-www.net
Cocoa programming in Perl: http://camelbones.sourceforge.net

Related mailsAuthorDate
mlIs there a "select folder" panel? John Nov 27, 23:42
mlRe: Is there a "select folder" panel? Hal Mueller Nov 27, 23:51
mlRe: Is there a "select folder" panel? Sherm Pendley Nov 27, 23:56
mlRe: Is there a "select folder" panel? John Nov 28, 00:36
mlRe: Is there a "select folder" panel? John Nov 28, 00:37