• 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
Re: Positioning of autocomplete popups
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Positioning of autocomplete popups


  • Subject: Re: Positioning of autocomplete popups
  • From: Dave Robertson <email@hidden>
  • Date: Thu, 11 Jun 2009 23:35:28 -0700

Ross,

Thanks for your comments.

I agree the autocomplete popup looks curiously unpolished compared to other system popup menus.

I've implemented the approach you suggest, and can populate an NSPopuButton menu with my completion candidates.
This works well up until the user types another character expecting to see the list adjust itself to the new match.
However since we have popped up the button's menu ( using performClickWithFrame:inView: ), the menu receives the key events, not the search field.


I am guessing there is a way to display the menu while keeping the focus on the search field, but I have not been able to figure out from the docs or the list how achieve this.

Is there a recommended way to display a menu while still keeping key events flowing to the search field?

Thanks,
Dave Robertson
_______________________________________________

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: Positioning of autocomplete popups
      • From: Uli Kusterer <email@hidden>
    • Re: Positioning of autocomplete popups
      • From: Ross Carter <email@hidden>
  • Prev by Date: NSView directly drawn on screen?
  • Next by Date: Re: API for fetching the computer name in cocoa
  • Previous by thread: Re: NSView directly drawn on screen?
  • Next by thread: Re: Positioning of autocomplete popups
  • Index(es):
    • Date
    • Thread