Can't seem to get the focus to change
Can't seem to get the focus to change
- Subject: Can't seem to get the focus to change
- From: Theodore Petrosky <email@hidden>
- Date: Fri, 31 Oct 2003 04:11:47 -0800 (PST)
I can't seem to get this to work..
I have a few textFields that I populate from a
database. I am using the technique of swapping into my
mainWindow various views depending on the clients
needs.
on this one view I have a job number field. user puts
in a valid job number and the view is updated. I turn
on the enabled and editability for the other fields.
My problem is that if I type 'tab' in the number
field, the insertion point goes to the nextkeyview.
However, nothing I do programmaticaally seems to move
the keyView when the user types a return.
I have NSControlTextDidEndEditingNotification for the
textField and I thought I could use
selectText:newFieldName.... but unless you type a tab,
nothing.
I tried selectNextKeyView:nil for the window, I tried
a setNeedsDisplay for the view. I think I am just
lost.
Any ideas where I am going astray?
Ted
__________________________________
Do you Yahoo!?
Exclusive Video Premiere - Britney Spears
http://launch.yahoo.com/promos/britneyspears/
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.