Retriving the tag of superMenu Items
Retriving the tag of superMenu Items
- Subject: Retriving the tag of superMenu Items
- From: Lorenzo <email@hidden>
- Date: Mon, 06 Dec 2004 15:51:48 +0100
Hi,
I have a menu item called Fruits" with some sub menus.
Fruits
Winter
Orange
Tangerine
Summer
Strawberry
Melon
If the user choses the item "Melon", how can I get the tag of its superMenus
(items) Summer and Fruits?
I have already
- (IBAction)ChoiseFromMenuFruits:(id)sender
{
int tag = [sender tag]; // this is the tag of the item Melon
// if I ask [[sender menu] tag]
// Xcode tells me there is not tag in a menu
}
Best Regards
--
Lorenzo
email: email@hidden
_______________________________________________
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