Re: Trigger selectionDidChange on completion within NSComboBox
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