• 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
setting focus on NSSearchField in status bar menu item
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

setting focus on NSSearchField in status bar menu item


  • Subject: setting focus on NSSearchField in status bar menu item
  • From: Nava Carmon <email@hidden>
  • Date: Thu, 08 Jul 2010 08:41:35 +0300

Hi,

I added a custom view with a NSSearchField as a first menu item to a status bar menu. When I run the application from debugger I can click and write in the NSSearchField. After I go to another application, make it front and click again on my status menu, the NSSearchField shows, but it's disabled and can't get focus. The question is how to cause the NSSearchField to get focus each time, the user clicks to show the menu?

Thanks,

Nava


Nava Carmon
email@hidden

"Think good and it will be good!"

_______________________________________________

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: setting focus on NSSearchField in status bar menu item
      • From: Nava Carmon <email@hidden>
  • Prev by Date: Re: How to catch [NSEvent dealloc]?
  • Next by Date: NSArchiverArchiveInconsistency
  • Previous by thread: Re: static analyzer
  • Next by thread: Re: setting focus on NSSearchField in status bar menu item
  • Index(es):
    • Date
    • Thread