• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Newbie Question - selecting textFields
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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.

References: 
 >Newbie Question - selecting textFields (From: Tom Gray <email@hidden>)

  • Prev by Date: initWithCoder and IB
  • Next by Date: Progress Indicators inside table-views
  • Previous by thread: Newbie Question - selecting textFields
  • Next by thread: Re: Newbie Question - selecting textFields
  • Index(es):
    • Date
    • Thread