Ask a Question related to Mac Programming, Design and Development.
-
Fred #1
NSNumberFormatter doesn't stop a user entering letters?
Hi,
I have a NSPanel with a NSForm which has some NSNumberFormatters
attached to it's NSFormCells. It seems that the NSNumberFormatter
doesn't stop the user entering letters, though it does prevent the user
tabbing away from the NSFormCell. Unfortunately it does not prevent the
user pressing the Apply button on the panel.
Is there any way to get the NSNumberFormatter to stop the user entering
letters?
TIA,
Fred
Fred Guest
-
STOP=Save The Opticles People! ... Stop Flashs flashing!
:| WHEN will they ever learn, our eyes are not to be played with. Imagin putting on a blindfold on for 1 - 24hr period & TRY to go about there... -
How do I stop a user from changing content in only onefolder, while still allowing changes to files in the root?
I have a site where one folder contains PHP scripts, and thus the owners of the site must not modify content in that folder. One way to acheive... -
Stop User Credentials Dialogue
Hi All, I have a web app on our intranet, and when an employee goes to the main page, it authenticates via Windows Authentication when the user... -
Error when entering numbrs and letters in a string
hello. when i enter a string of numbers via an html form to a postgresql db, everything is fine. however, when numbers are combined with letters in... -
how do i stop one user accessing certain files in XP
Both me and my brother use my computer and i have set him up a limited user account on the computer but he still has access to all the files on the... -
matt neuburg #2
Re: NSNumberFormatter doesn't stop a user entering letters?
In <bepc4f$7ig4t$1@ID-149992.news.uni-berlin.de> Fred wrote:
Yes, just override isPartialStringValid... m.> Is there any way to get the NSNumberFormatter to stop the user
> entering letters?
--
matt neuburg, phd = [email]matt@tidbits.com[/email], [url]http://www.tidbits.com/matt[/url]
REALbasic: The Definitive Guide! 2nd edition!
[url]http://www.amazon.com/exec/obidos/ASIN/0596001770/somethingsbymatt[/url]
Subscribe to TidBITS. It's free and smart.
matt neuburg Guest



Reply With Quote

