NSOpenPanel ->getting path while panel is up
NSOpenPanel ->getting path while panel is up
- Subject: NSOpenPanel ->getting path while panel is up
- From: David Rehring <email@hidden>
- Date: Wed, 24 Apr 2002 23:09:52 -0700
I've got an NSOpenPanel configured so the user can select a single
directory. I've added a accessory view with a 'Create New Folder...' button
to the NSOpenPanel.
When the user clicks the button, I open another panel and get the name of
the directory to create.
So far, everything works great.
The problem is, I can't get the panel to the directory that the user has
currently selected in the NSOpenPanel.
I've tried:
- (NSString *)directory;
- (NSURL *)URL;
- (NSArray *)filenames;
- (NSArray *)URLs;
Anyone know how to get the currently selected directory?
Later,
--
David Rehring Psychos do not explode when light hits
Senior Software Engineer them, no matter how crazy they are...
Atimi Software, Inc.
www.atimi.com And totally insane guy!
_______________________________________________
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.