Re: Detecting when NSComboBox text changed by list

2008-10-31 Thread James Walker
Kyle Sluder wrote: On Fri, Oct 31, 2008 at 4:14 PM, James Walker <[EMAIL PROTECTED]> wrote: At step 2, comboBoxSelectionDidChange is called, but the text field has not yet changed. Actually, it has changed. Look into the NSEditor and NSEditorRegistration protocols. Huh? I'm staring at the

Re: Detecting when NSComboBox text changed by list

2008-10-31 Thread Kyle Sluder
On Fri, Oct 31, 2008 at 4:14 PM, James Walker <[EMAIL PROTECTED]> wrote: > At step 2, comboBoxSelectionDidChange is called, but the text field has not > yet changed. Actually, it has changed. Look into the NSEditor and NSEditorRegistration protocols. --Kyle Sluder ___

Re: Detecting when NSComboBox text changed by list

2008-10-31 Thread James Walker
Dave Fernandes wrote: delegate method: comboBoxSelectionDidChange No, that's not right. The comboBoxWillDismiss delegate method is better, though it gives "false positives". Consider this scenario: 1. I open the pop-up list. 2. I use an arrow key to change the selected item. 3. I press th

Re: Detecting when NSComboBox text changed by list

2008-10-31 Thread Dave Fernandes
delegate method: comboBoxSelectionDidChange On Oct 31, 2008, at 3:34 PM, James Walker wrote: How can I be notified when the text of an NSComboBox is changed by choosing something from the list? Oddly, my controlTextDidChange: delegate method is not called in that case, though it is called i

Detecting when NSComboBox text changed by list

2008-10-31 Thread James Walker
How can I be notified when the text of an NSComboBox is changed by choosing something from the list? Oddly, my controlTextDidChange: delegate method is not called in that case, though it is called if I type in the field. None of the NSComboBox notifications or delegate methods look appropriat