Re: Disable a menu (item)
Re: Disable a menu (item)
- Subject: Re: Disable a menu (item)
- From: Matt Neuburg <email@hidden>
- Date: Tue, 11 Dec 2001 06:48:55 -0800
On Mon, 10 Dec 2001 23:56:53 +0100, Markus Hitter <email@hidden> said:
Am Montag den, 10. Dezember 2001, um 21:20, schrieb Matt Neuburg:
I'd like to disable the File menu. I see how to disable all its
menu items by disabling the File menu item of the main menubar.
What I don't see is how to make the word "File" itself be
grayed out.
Two ways:
1) remove the action method and the corresponding item will be
grayed automatically. You might want to store a pointer to the
method to add it again later.
2) disable the automatic disable detection, then disable it manually
( [... setEnabled:NO] ).
No. I did that. - I don't know what to do except to repeat the
question. I can disable *any* menu item in the File menu. I can
disable *all* the menu items in the File menu. What I can't do is
disable THE WORD "File" ITSELF. Please tell me how. Thx - m.
--
matt neuburg, phd = email@hidden,
http://www.tidbits.com/matt
pantes gar anthropoi tou eidenai oregontai phusei