Skip navigation.
 
mlRe: Trigger selectionDidChange on completion within NSComboBox
FROM : Nir Soffer
DATE : Tue Aug 15 21:23:03 2006

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_removed>)
> Help/Unsubscribe/Update your Subscription:
> http://lists.apple.com/mailman/options/cocoa-dev/<email_removed>
>
> This email sent to <email_removed>



Best Regards,

Nir Soffer

Related mailsAuthorDate
mlTrigger selectionDidChange on completion within NSComboBox Jonas Oberschweibe… Aug 15, 14:14
mlRe: Trigger selectionDidChange on completion within NSComboBox Nir Soffer Aug 15, 21:23