NSTextFieldCell focus?
NSTextFieldCell focus?
- Subject: NSTextFieldCell focus?
- From: Andrew Merenbach <email@hidden>
- Date: Fri, 4 Oct 2002 17:40:07 -0700
I have a matrix of NSTextFieldCells in the window of a program of mine,
each of which has a radio button corresponding to it. When the user
presses return and there is no default button, the focus will remain in
the current text field. But when there is a default button, the
current text field cell loses the focus, and nothing else gets
selected. I've using an NSForm, too, but have received the same
result. Is this inconsistent behavior? Regular text fields do not
lose their focus when the user presses return, and clicking on the
button with the mouse doesn't cause the focus to be lost, either. More
importantly, is there a simple way to prevent the focus from changing
when the user presses return?
Take care,
Andrew Merenbach
_______________________________________________
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.