• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Cannot change menu state in NSSearchField menu for more than once
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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

  • Follow-Ups:
    • Re: Cannot change menu state in NSSearchField menu for more than once
      • From: Alexander Reichstadt <email@hidden>
  • Prev by Date: Re: Porting SetupComm function in Mac
  • Next by Date: Re: Porting SetupComm function in Mac
  • Previous by thread: Re: Porting SetupComm function in Mac
  • Next by thread: Re: Cannot change menu state in NSSearchField menu for more than once
  • Index(es):
    • Date
    • Thread