Document Modal option for NSPanel
Document Modal option for NSPanel
- Subject: Document Modal option for NSPanel
- From: "Devraj Mukherjee" <email@hidden>
- Date: Tue, 22 Jan 2008 22:50:41 +1100
Hi everyone,
I have an NSPanel in my Nib file that is connect to an instance of a
class that handles the various events. I use an instance of a
NSWindowController to show the Window.
I now wish this Panel to be modal so the user must make a choice using
the elements on the Panel and the application waits for the Panel to
close. All of this seems to work, except that the Panel doesn't seem
to be destroyed or marked in an non modal position until another
Window/Panel is loaded. I am shutting the Panel using the "Close"
button on the panel.
Any guesses on what might be going wrong?
Thanks a lot.
--
"I never look back darling, it distracts from the now", Edna Mode (The
Incredibles)
_______________________________________________
Cocoa-dev mailing list (email@hidden)
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:
This email sent to email@hidden