Re: newb question on documents, nibs & the menu bar
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