• 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: ComboBox Notification
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: ComboBox Notification


  • Subject: Re: ComboBox Notification
  • From: Bruno Gaufier <email@hidden>
  • Date: Mon, 25 Aug 2003 15:47:35 +0200

Hi

On Monday, August 25, 2003, at 12:13 AM, Jon Hull wrote:

I have an NSComboBox with an internal list and auto-completion. I need to be notified when the user has typed something and the box has auto-completed. Right now, using -(void)controlTextDidChange:(NSNotification*), I am notified when the user types, but unfortunately before the box has auto-completed.


Try the NSTextDidEndEditingNotification (from the NSTextField associated to the combo).

A delegates
- (void)textDidEndEditing:(NSNotification*)pNotif
will also be called (twice ? I think)

--
Bruno Gaufier
----
email@hidden
email@hidden

http://perso.club-internet.fr/bgaufier/
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.

References: 
 >ComboBox Notification (From: Jon Hull <email@hidden>)

  • Prev by Date: Re: difference between a method and function?
  • Next by Date: Re: Help me, which book I should buy to learn Cocoa??
  • Previous by thread: ComboBox Notification
  • Next by thread: Dragging to an NSTextview
  • Index(es):
    • Date
    • Thread