Re: How to identify a menu item?
Re: How to identify a menu item?
- Subject: Re: How to identify a menu item?
- From: Donald Brown <email@hidden>
- Date: Sun, 03 Mar 2002 08:59:58 -0600
The simplest way is to use the tag. This can be edited in the Interface
Builder, and you can do a simple
switch([sender tag])
{
case 1010://Add records
if (oktoaddrecords)
return YES;
else
return NO;
break;
}
on 3/3/02 7:06 AM, Manfred Lippert at email@hidden wrote:
>
I often have the problem to identify a specific menu item. Mostly in
>
implementations of the validateMenuItem method.
--
Donald Brown
email@hidden
http://www.eamontales.com
We have met the enemy and he is us - Pogo
_______________________________________________
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.