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: Gerben Wierda <email@hidden>
- Date: Fri, 15 Mar 2002 13:37:46 +0100
I cannot see how hose methods help me with my problem because none of
those changes the behaviour of the panel v.a.v. directories. Am I
overlooking something?
G
On Tuesday, March 12, 2002, at 09:15 , John W. Whitworth wrote:
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.
_______________________________________________
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.