• 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
Limiting NSTextField to numbers?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Limiting NSTextField to numbers?


  • Subject: Limiting NSTextField to numbers?
  • From: Brooke Gravitt <email@hidden>
  • Date: Wed, 21 Jan 2009 10:40:22 -0500

How do you prevent an NSTextField from accepting anything aside from
numbers? Or will I need to code up a solution to remove text from the
field automatically? Display a dialog & clear the contents?

Thanks,
Brooke
_______________________________________________

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

  • Follow-Ups:
    • Re: Limiting NSTextField to numbers?
      • From: "I. Savant" <email@hidden>
  • Prev by Date: Re: Setting the result of a javascript function to NSString
  • Next by Date: Re: Switching NSDocument based application to tabbed views interface
  • Previous by thread: Re: Newbie Memory Questions on a Code Fragment
  • Next by thread: Re: Limiting NSTextField to numbers?
  • Index(es):
    • Date
    • Thread