NSOpenPanel and field setting
NSOpenPanel and field setting
- Subject: NSOpenPanel and field setting
- From: "Alan Smith" <email@hidden>
- Date: Tue, 18 Apr 2006 11:18:28 -0400
I have an NSOpenPanel that I want to open a folder. The question is, in
beginSheetForDirectory... what do I set "types" to be if I want the user to
select a folder and not a file?
The other question. I have 6 textFields and depending on which of the
buttons is pressed it will use an openPanel to select a folder and then the
corresponding field will be filled with the path of the folder selected in
the panel. How do I do this without using lots of "ifs."
Thanks, Alan
--
// Quotes from yours truly -------------------------
"You don't forget, you just don't remember."
"Maturity resides in the mind."
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden