• 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: NSMenuItem set title value
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: NSMenuItem set title value


  • Subject: Re: NSMenuItem set title value
  • From: Larry Fransson <email@hidden>
  • Date: Wed, 7 Jul 2004 10:19:51 -0700

On Jul 7, 2004, at 00:29, Emmanuel Verlynde wrote:

how update application menu item's title?

i set it with,

[[oApplicationMenu itemWithTag:<menuItemTag>] setTitle:@"<new title>"];

method but nothing happen!?

Best bet is that there isn't a menu item wit the tag you are specifying. Are you certain that the tag is what you think it is? What do you get if you log the results of itemWithTag: to the console using NSLog()?

Larry Fransson
Seattle, WA
_______________________________________________
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.


References: 
 >NSMenuItem set title value (From: "Emmanuel Verlynde" <email@hidden>)

  • Prev by Date: Usb
  • Next by Date: Re: Usb
  • Previous by thread: NSMenuItem set title value
  • Next by thread: Debugging a specific object
  • Index(es):
    • Date
    • Thread