number formatters and bindings
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