Cannot change menu state in NSSearchField menu for more than once
Cannot change menu state in NSSearchField menu for more than once
- Subject: Cannot change menu state in NSSearchField menu for more than once
- From: Alexander Reichstadt <email@hidden>
- Date: Mon, 03 Nov 2008 08:31:58 +0100
Hi,
when trrying to change the tickmark next to a menu of an NSSearchField
it works exactly once, after that it doesn't work any more. I have to
relaunch the app. I see that my code is indeed executed, but it makes
no difference after the first time. Or maybe it's not refreshed somehow.
[[[mySearchMenu itemArray] objectAtIndex:1] setState:NSOnState];
[[[mySearchMenu itemArray] objectAtIndex:0] setState:NSOffState];
Is there some fault with my code?
Thanks
Alexander
Attachment:
smime.p7s
Description: S/MIME cryptographic signature
_______________________________________________
Cocoa-dev mailing list (email@hidden)
Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden