• 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: Trigger selectionDidChange on completion within NSComboBox
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Trigger selectionDidChange on completion within NSComboBox


  • Subject: Re: Trigger selectionDidChange on completion within NSComboBox
  • From: Nir Soffer <email@hidden>
  • Date: Tue, 15 Aug 2006 22:23:03 +0300

Try to add a delegate to your control and implement controlTextDidBeginEditing:, controlTextDidChange: and controlTextDidEndEditng:.

On 15/08/2006, at 15:14, Jonas Oberschweiber wrote:

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hi,

I have an NSComboBox in my window and on selectionDidChange I do some things with the selected item. Is there a way to have selectionDidChange (or some other delegate method) called when the user only enters the first few characters of the item and then presses enter to trigger the autocompletion? This would allow for fast keyboard use of my window and is the reason I chose NSComboBox over NSPopUpButton.

Best Regards

Jonas
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.5 (Darwin)

iD8DBQFE4bqd/WfZICoqOucRAuBRAJ9BTxrcwB/pjG+KhINl+l785HGtQgCgiYbB
g51Nd1d0pGEfBZ0Nhuy4RNI=
=if2r
-----END PGP SIGNATURE-----
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden


Best Regards,

Nir Soffer

Attachment: smime.p7s
Description: S/MIME cryptographic signature

 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden

References: 
 >Trigger selectionDidChange on completion within NSComboBox (From: Jonas Oberschweiber <email@hidden>)

  • Prev by Date: Re: demo application date keeping
  • Next by Date: Applying a Drop Shadow to an NSView
  • Previous by thread: Trigger selectionDidChange on completion within NSComboBox
  • Next by thread: Multi-Array Sorting Problem
  • Index(es):
    • Date
    • Thread