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 combo box and I can see that the text has not changed. In fact at that point, it is still possible to dismiss the list without changing the text.

Actually, things seem to be even worse than I indicated in my previous message. The comboBoxWillDismiss may come before or after the text change, depending on whether the selection is made with the return key or the mouse.

Maybe what I'll do is give up on finding out immediately that the text has changed, and watch for controlTextDidEndEditing instead. I'm not sure, but maybe that's similar to what you meant about NSEditor.
--
  James W. Walker, Innoventive Software LLC
  <http://www.frameforge3d.com/>
_______________________________________________

Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to [EMAIL PROTECTED]

Reply via email to