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 (Cocoa-dev@lists.apple.com)

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:
http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to [EMAIL PROTECTED]

Reply via email to