• 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
number formatters and bindings
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

number formatters and bindings


  • Subject: number formatters and bindings
  • From: Mitchell Livingston <email@hidden>
  • Date: Sat, 30 Dec 2006 12:47:00 -0500

Hello,

I want to have a text field where a user can only enter in numbers within a certain range (usually 0 and up) but it also needs to use bindings. When I use bindings and number formatters and enter an invalid value I get a error dialog with "Invalid number" or "Fell short of minimum" and the options "OK" and "Discard Changes". Is there a way to make the field simply beep and revert to the previous values (or something similar)?

Thanks,
Mitchell Livingston
_______________________________________________

Cocoa-dev mailing list (email@hidden)

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: number formatters and bindings
      • From: "Sean McBride" <email@hidden>
  • Prev by Date: selection stays in NSTextView
  • Next by Date: storing data from NSPanel---I found another route
  • Previous by thread: Re: selection stays in NSTextView
  • Next by thread: Re: number formatters and bindings
  • Index(es):
    • Date
    • Thread