Displaying a sheet inside windowControllerDidLoadNib = no go ??
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.