View Full Version : makeFirstResponder in controlTextDidEndEditing doesn't work

Jan 16, 2007, 03:30 AM

I have 2 fields (outlets: outField1 and outField2) and I want to move the cursor in the second field as soon as I press Return in the first field.
In awakeFromNib I set the control class as the delegate for outField1.
In controlTextDidEndEditing I use
[outWindow makeFirstResponder: outField2]

It doesn't work! If I use controlTextDidChange it's OK, but it doesn't suit my purpose.

Have you any idea?

Thanks, Miky