makeFirstResponder in controlTextDidEndEditing doesn't work

Discussion in 'Mac Programming' started by pamide, Jan 16, 2007.

  1. macrumors newbie

    Jan 16, 2007

    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

Share This Page