• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag
 

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Disable a menu (item)
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


  • Follow-Ups:
    • Re: Disable a menu (item)
      • From: Andrew Platzer <email@hidden>
  • Prev by Date: Re: Starting the screensaver from code
  • Next by Date: Re: Damn sisters :-)
  • Previous by thread: Re: Disable a menu (item)
  • Next by thread: Re: Disable a menu (item)
  • Index(es):
    • Date
    • Thread