• 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
NSTextField getting input number by number
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

NSTextField getting input number by number


  • Subject: NSTextField getting input number by number
  • From: "Jay Rimalrick" <email@hidden>
  • Date: Fri, 14 Nov 2003 17:51:04 -0500

I want to capture a number being typed into an NSTextField number by
number including float values. Thus entering 1.2 would work like this

type 1 -> (calculations are done for the value 1)
type . -> (calculations are done for the value 1.)
type 2 -> (calculations are done for the value 1.2)

What delegate method should I use for this? I am also trying to use an
Interface Builder formatter on the NSTextField to keep the values positive.

Thanks in advance,
jay




________________________________________________________________
Sent via the WebMail system at 1st.net
_______________________________________________
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.

  • Follow-Ups:
    • Re: NSTextField getting input number by number
      • From: Chuck Soper <email@hidden>
  • Prev by Date: Re: retain and autorelease
  • Next by Date: Re: lame 3.93
  • Previous by thread: Re: What's NSError **? (RESOLVED)
  • Next by thread: Re: NSTextField getting input number by number
  • Index(es):
    • Date
    • Thread