Re: Special behaviour for a Save/Open Panel
Re: Special behaviour for a Save/Open Panel
- Subject: Re: Special behaviour for a Save/Open Panel
- From: "John W. Whitworth" <email@hidden>
- Date: Tue, 12 Mar 2002 20:15:19 +0000
Take a look at NSSavePanel
-
beginSheetForDirectory:file:modalForWindow:modalDelegate:didEndSelector:contextInfo:
- runModalForDirectory:file:
- runModalForDirectory:file:relativeToWindow:
On Tuesday, March 12, 2002, at 07:30 PM, Gerben Wierda wrote:
>
I need to contrsuct a Save Panel that lets me select a directory or a
>
directory that does not exist yet (which will then be created by the
>
app). When I use the Save Panel I have the problem that I cannot
>
restrict behaviour to just directories. When I use the Open Panel I
>
have the problem that I cannot select something that does not exist yet
>
nor can I create intermediate cirectories on-the-fly
>
>
Example:
>
/usr/local exists
>
/usr/local/teTeX exists
>
/usr/local/TeX does not exist
>
I want to be able to choose either
>
/usr/local/TeX
>
/usr/local/teTeX
>
>
I think I am stuck and I can't see a way out. Anybody else smarter,
>
more knowledgeable than me out there? What do I need to override in a
>
subclass if I want to get this behaviour?
>
>
Thanks,
>
>
G
>
_______________________________________________
>
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.
_______________________________________________
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.