Re: number formatters and bindings
Re: number formatters and bindings
- Subject: Re: number formatters and bindings
- From: "I. Savant" <email@hidden>
- Date: Thu, 4 Jan 2007 00:19:25 -0500
I haven't checked the archives myself, but what about doing this
during validation ( -validate<Key>:error: )? Do any necessary
corrections there, but always return YES and no error should be
displayed.
Disclaimer: I haven't tried this, just an idea.
--
I.S.
On Jan 3, 2007, at 11:51 PM, Sean McBride wrote:
Mitchell Livingston (email@hidden) on 2006-12-30 12:47 said:
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)?
I seem to remember other questions in the past about changing that
dialog (I think I asked too). Did you check the archives? IIRC,
there
is nothing to be done. :( Except visiting radar of course.
Sean
--
"Whoever controls the past, controls the future" - George Orwell
_______________________________________________
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:
40gmail.com
This email sent to email@hidden
_______________________________________________
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