NSApp beginSheet is the correct method, without any runModalForWindow.

The modalForWindow argument is *not* the sheet window, it is the window on
which to display the sheet. And of course you don't create an empty sheet to
display it...

I'm guessing that [sourceTableView window] is the window you want to display
as a sheet, and the window on which you want to display is not shown in your
code--but your code sample doesn't provide enough context to really see
what's going on.

-- 
Scott Ribe
scott_r...@killerbytes.com
http://www.killerbytes.com/
(303) 722-0567 voice


_______________________________________________

Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com

Reply via email to