Re: NSMenuItem: [ ] Bug [ ] Unexpected Behavior [ ] Answer forthcoming
Re: NSMenuItem: [ ] Bug [ ] Unexpected Behavior [ ] Answer forthcoming
- Subject: Re: NSMenuItem: [ ] Bug [ ] Unexpected Behavior [ ] Answer forthcoming
- From: email@hidden
- Date: Fri, 25 May 2001 17:01:55 GMT
Hi Stiphane,
>
Then could someone explain me why when you do a [thisAnnoyingMenuItem
>
setEnabled:NO]; it stays enabled ?
Well, the menu item will be disabled as the code above is executed but as soon as one pulls down the menu the item will be re-enabled because of the mechanism described in "NSMenuValidation" (oops I wrote the word...but I'm not too sorry for that :-) ).
Greetings from uptown Cologne,
Axel