Re: Problem with validateMenuItem and a Modal Dialog, maybe a bug in Cocoa...
Re: Problem with validateMenuItem and a Modal Dialog, maybe a bug in Cocoa...
- Subject: Re: Problem with validateMenuItem and a Modal Dialog, maybe a bug in Cocoa...
- From: Sascha Matzke <email@hidden>
- Date: Wed, 22 Jan 2003 16:29:27 +0100
Hi,
I had the same problem as you. I solved it by implementing the method
- (BOOL)worksWhenModal
{
return YES;
}
in the target object of the NSMenuItem(s).
As far as I know that specific behavior isn't documented (at least I
didn't find it). I discovered it by logging all respondsToSelector calls
on my menu controller (the target object).
Sascha
_______________________________________________
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.