Re: Newbie Question - selecting textFields
Re: Newbie Question - selecting textFields
- Subject: Re: Newbie Question - selecting textFields
- From: Sherm Pendley <email@hidden>
- Date: Tue, 26 Nov 2002 04:07:11 -0500
On Tuesday, November 26, 2002, at 12:24 AM, Tom Gray wrote:
I have four NSTextFields in a window. After the user enters a value and
hits return or tab, I validate the value. If the value is not valid I
want to reselect the text in that NSTextField and make it the current
text field.
Put the input validation code in a textShouldEndEditing: method in the
NSTextField's delegate.
sherm--
If you listen to a UNIX shell, can you hear the C?
_______________________________________________
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.