Problem with NSNumberFormater
Problem with NSNumberFormater
- Subject: Problem with NSNumberFormater
- From: Claudius Sailer <email@hidden>
- Date: Thu, 19 Sep 2002 10:26:19 +0200
Hi,
I have a sheet with a NSForm (2 Cells, Second Cell is
NSNumberFormatter) and 2 Buttons (Cancel and OK). The OK Button is
disabled and should be enabled when in NSForm Cell 1 has length bigger
0 and Cell 2 has length bigger 0 and is bigger 0. For this testing I
use the KeyUp-Event. But when I write 1 or 2 or 3 in the
NSNumberFormatted Cell I get 1.0000 as feedback and the OK-Button is
enabled.
It seems that the Formatter aktives the format after the KeyUp-Event,
but this is not what I want, because after that I can't write 1.234
without a lot of trouble.
Do I have an onther possibility to fix this problem?
Claudius
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.