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 <a...@webis.net> 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 (Cocoa-dev@lists.apple.com)

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:
http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com

Reply via email to