• 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: Numeric only NSTextField checked during typing
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Newbie: Numeric only NSTextField checked during typing


  • Subject: Re: Newbie: Numeric only NSTextField checked during typing
  • From: "I. Savant" <email@hidden>
  • Date: Wed, 4 Oct 2006 15:19:04 -0400


You want to look up "NSNumberFormatter". You should also read:

file:///Developer/ADC Reference Library/documentation/Cocoa/ Conceptual/DataFormatting/index.html

--
I.S.


On Oct 4, 2006, at 3:03 PM, Davide Rivola wrote:

Hello,

I have a NSTextField in a preference panel. This control is binded to a User Defaults value.
I checked "Continuously Update Value" so the user don't have to press enter to save the settings.


I would like to make this field a numeric only field. Blocking out every non numeric key entered in the
field during typing.


I tried to look in the mailing list but I'm very lost, could please give me some suggestions?

Thank you,
Davide

_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
40gmail.com


This email sent to email@hidden

_______________________________________________ Do not post admin requests to the list. They will be ignored. Cocoa-dev mailing list (email@hidden) Help/Unsubscribe/Update your Subscription: This email sent to email@hidden
References: 
 >Newbie: Numeric only NSTextField checked during typing (From: Davide Rivola <email@hidden>)

  • Prev by Date: Re: Stopping double clicking of a file
  • Next by Date: Re: Stopping double clicking of a file
  • Previous by thread: Newbie: Numeric only NSTextField checked during typing
  • Next by thread: managedObjectContext hasChanges
  • Index(es):
    • Date
    • Thread