• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Special behaviour for a Save/Open Panel
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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.

References: 
 >Re: Special behaviour for a Save/Open Panel (From: "John W. Whitworth" <email@hidden>)

  • Prev by Date: Mouse moved events and escape key
  • Next by Date: Re: Can I see the ASCII value of an NSString while debugging?
  • Previous by thread: Re: Special behaviour for a Save/Open Panel
  • Next by thread: How i can get to a NSString a selected text in a NSTextView ?
  • Index(es):
    • Date
    • Thread