• 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
NSOpenPanel and New Folder button
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

NSOpenPanel and New Folder button


  • Subject: NSOpenPanel and New Folder button
  • From: Steve Gehrman <email@hidden>
  • Date: Wed, 2 May 2001 01:16:45 -0700

I'm using the NSOpenPanel to allow the user to select a destination folder. It works great, but I need a "New Folder" button. Is there another panel that allows the user to choose a destination folder that does include a New Folder button? If not, please add to Cocoa.

steve

// code below allows the user to choose a folder, but no New Folder button....

NSOpenPanel *op = [NSOpenPanel openPanel];

[op setCanChooseDirectories:YES];
[op setCanChooseFiles:NO];
[op setAllowsMultipleSelection:NO];

[op beginSheetForDirectory:@"" file:@"" types:nil modalForWindow:[self window] modalDelegate:self didEndSelector:@selector(openPanelDidEnd:returnCode:contextInfo:) contextInfo:nil];


  • Follow-Ups:
    • Re: NSOpenPanel and New Folder button
      • From: "Kevin C." <email@hidden>
    • Re: NSOpenPanel and New Folder button
      • From: Stefan Jung <email@hidden>
  • Prev by Date: Re: NSSelectorFromString crash
  • Next by Date: Mixed Objective-C and C++ for Cocoa App
  • Previous by thread: Supplementary files of an app belong into ~/Library/Application Support
  • Next by thread: Re: NSOpenPanel and New Folder button
  • Index(es):
    • Date
    • Thread