• 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: newb question on documents, nibs & the menu bar
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: newb question on documents, nibs & the menu bar


  • Subject: Re: newb question on documents, nibs & the menu bar
  • From: PGM <email@hidden>
  • Date: Sat, 28 Jan 2006 15:52:08 -0500

Oh, I forgot that you might also want to tick the menu-item when actually selecting it from the menubar rather than the popUpButton. If you give the choices in your submenu the tags 0 to 2, you can do the following in the action that you have conencted to the menu through the first responder (supposing you connected all three choice submenu-items to the same action):

int menuTag = [sender tag];
[myPopUpButton selectItemAtIndex:menuTag];
[self clickedPopUpButton:myPopUpButton];


_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden


References: 
 >newb question on documents, nibs & the menu bar (From: Mike Abdullah <email@hidden>)

  • Prev by Date: Re: Warning with NEXT_ROOT environment and libgcc.a
  • Next by Date: Re: threads or processes?
  • Previous by thread: Re: newb question on documents, nibs & the menu bar
  • Next by thread: performSelector in next run loop?
  • Index(es):
    • Date
    • Thread