Re: Newbie: Numeric only NSTextField checked during typing
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