• 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
Displaying a sheet inside windowControllerDidLoadNib = no go ??
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Displaying a sheet inside windowControllerDidLoadNib = no go ??


  • Subject: Displaying a sheet inside windowControllerDidLoadNib = no go ??
  • From: Jérome Foucher <email@hidden>
  • Date: Tue, 18 Feb 2003 17:14:26 +0100

Hi,

Sorry if my question sounds stupid as I'm new to Cocoa ;o)

I've got a multi-window sample application.

The class MyDocument is based on NSDocument and overwrites the method windowControllerDidLoadNib

Inside this method, I'd like to display a "Select folder" sheet. So that each time the user creates a new document window, a sheet is displayed and he has to select the folder he wants to begin working on....

So I call beginSheetForDirectory:

What happens is that the Open dialog is correctly displayed, but not as a sheet, but as a standalone modal dialog....

Am I doing something wrong ?

Thanks
Jerome
_______________________________________________
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.

  • Follow-Ups:
    • [SOLUTION] Displaying a sheet inside windowControllerDidLoadNib = no go ??
      • From: Jérome Foucher <email@hidden>
  • Prev by Date: ppp_msg
  • Next by Date: Re: Get path to user preference folder, updated
  • Previous by thread: ppp_msg
  • Next by thread: [SOLUTION] Displaying a sheet inside windowControllerDidLoadNib = no go ??
  • Index(es):
    • Date
    • Thread