• 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: openDocument
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: openDocument


  • Subject: Re: openDocument
  • From: Mark Piccirelli <email@hidden>
  • Date: Fri, 25 Oct 2002 18:39:01 -0700

-[NSDocumentController openDocument:] presents an application-modal open panel (AKA "dialog") instead of a sheet on purpose. In a typical application there's no particular window on which it would be appropriate to present a sheet. If you want to do something nonstandard, you can override -[NSDocumentController openDocument:].

-- Mark

On Monday, October 21, 2002, at 03:40 AM, Carla Lewis wrote:

When I invoke the openDocument method from the menu or other object, I get a floating file dialog. How can I make this same dialog appear in a Sheet? Any examples? I'm a newbie and don't know my ass from a whole in the ground.

Thanks!

Carla
_______________________________________________
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: 
 >openDocument (From: Carla Lewis <email@hidden>)

  • Prev by Date: Re: New document does NOT open at program start!
  • Next by Date: Redistribution of /Developer/Tools components...
  • Previous by thread: Scrollable NSTextView
  • Next by thread: Deallocation in Cocoa [greenhorn]
  • Index(es):
    • Date
    • Thread