Modal window help
Modal window help
- Subject: Modal window help
- From: Bill Houston <email@hidden>
- Date: Mon, 16 Feb 2004 13:23:31 -0800
I am trying to run an NSWindow created in InterfaceBuilder as a modal window
using runModalForWindow.
When I execute the application I get the following runtime error message:
"Uncaught exception: <NSInternalInconsistencyException> Modal session
requires modal window"
I have tried setting my window level to modal:
[window setLevel: NSModalPanelWindowLevel];
Before calling:
[NSApp runModalForWindow:window];
but it didn't help.
Can anyone tell me where to look for help with this problem?
Thanks,
Bill
_______________________________________________
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.