• 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: Little problem with NSFormatter way of working
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Little problem with NSFormatter way of working


  • Subject: Re: Little problem with NSFormatter way of working
  • From: "Erik M. Buck" <email@hidden>
  • Date: Mon, 15 Oct 2001 09:24:55 -0500

Whenever your disable a textField during active editing (return has not been
pressed), change the first responder in order to end the editing of the
textField. The textField's value is not really set until editing ends.

in whatever code disables the text field, add the following:

[[textField window] makeFirstResponder:[textField window] ]; // ends
editing in any fields


----- Original Message -----

References: 
 >Little problem with NSFormatter way of working (From: Stéphane Sudre <email@hidden>)

  • Prev by Date: Re: Adding some polar coordinate capabilities to NSBezierPath.
  • Next by Date: Changing hostname in Cocoa?
  • Previous by thread: Re: Little problem with NSFormatter way of working
  • Next by thread: NSNumberFormatter : another problem
  • Index(es):
    • Date
    • Thread