Re: file browsing?
Re: file browsing?
- Subject: Re: file browsing?
- From: "David Piasecki" <email@hidden>
- Date: Mon, 26 Apr 2004 11:43:45 -0700
I see. You have to create it in code and attach it to a window using
modelForWindow and set a delegate for when it returns with
modalDelegate. It's a little more complicated than the simple windoze
way of doing things, but not too bad.
David
On Apr 26, 2004, at 11:24 AM, Larry Fransson wrote:
On Apr 26, 2004, at 10:04, David Piasecki wrote:
How does one give access to the file system through an NSBrowser or
other object? I placed an NSBrowser in an NSPanel, but I can't seem
to figure out how to give the user the option to select files.
Is this something you could use an NSOpenPanel or NSSavePanel for? I
have successfully used both in applications for browsing and selecting
file locations without actually opening or saving anything. You can
change the prompt on the default button is "Open" or "Save" is not
appropriate for what you're doing.
Larry Fransson
Seattle, WA
_______________________________________________
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.