Re: Number Formatter
Re: Number Formatter
- Subject: Re: Number Formatter
- From: Alex Kac <email@hidden>
- Date: Wed, 21 Jan 2009 14:19:57 -0600
Ah, I was thinnking of Number Pad. But if you need Numbers and
Punctuation, just implement the delegate
textField:shouldChangeCharactersInRange:replacementString: and make
sure the only characters are numbers.
On Jan 21, 2009, at 2:13 PM, Brooke Gravitt wrote:
On Wed, Jan 21, 2009 at 3:04 PM, Alex Kac <email@hidden> wrote:
Check the Numbers only flag in the IB palette.
So my options are ( if I'm looking in the right place ) on the Text
Field Attributes tab on the inspector, Text Input Traits panel
Keyboard Type:
Default
ASCII Capable
Numbers & Punctuation
URL
Number Pad
Phone Pad
Name Phone Pad
Email Address
Choosing "Numbers & Punctuation" doesn't prevent users from inputting
other punctuation, nor switching to a keyboard.
Don't see a check box anywhere for "Numbers Only."
Thanks,
Brooke
Alex Kac - President and Founder
Web Information Solutions, Inc.
"There will always be death and taxes; however, death doesn't get
worse every year."
-- Anonymous
_______________________________________________
Cocoa-dev mailing list (email@hidden)
Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden