Re: Modal dialog weirdness
Re: Modal dialog weirdness
- Subject: Re: Modal dialog weirdness
- From: Sherm Pendley <email@hidden>
- Date: Sat, 19 Nov 2005 14:54:31 -0500
On Nov 19, 2005, at 2:24 PM, Derrick Bass wrote:
On Nov 19, 2005, at 5:37 AM, j o a r wrote:
First, when the dialog is displayed, the Quit menu item is
disabled. How do I enable it?
This is the intended behaviour. If you want to change it, you'll
probably need to change the action method for that menu item.
It's currently connected to terminate:, of course. I tried adding a
terminate: method to the dialog's controller class (which just
called through to [NSApp terminate:]) in the hopes that it would be
picked up by the responder chain, but it didn't help.
Is the menu item connected to the responder chain in IB, or to the
Nib's owner?
sherm--
Cocoa programming in Perl: http://camelbones.sourceforge.net
Hire me! My resume: http://www.dot-app.org
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden