FROM : Ian was here
DATE : Tue Apr 26 23:59:24 2005
Does anyone know how to limit the number of characters
that can be entered into an NSTextField. I have a
unique situation where only five numbers should be
entered, and each number should only be a value from 1
to 5. I tried subclassing NSTextField and using
KeyDown() to catch each number entered, but the
KeyDown() method never gets called?!?!
__________________________________________________
Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection around
http://mail.yahoo.com
DATE : Tue Apr 26 23:59:24 2005
Does anyone know how to limit the number of characters
that can be entered into an NSTextField. I have a
unique situation where only five numbers should be
entered, and each number should only be a value from 1
to 5. I tried subclassing NSTextField and using
KeyDown() to catch each number entered, but the
KeyDown() method never gets called?!?!
__________________________________________________
Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection around
http://mail.yahoo.com
| Related mails | Author | Date |
|---|---|---|
| Ian was here | Apr 26, 23:59 | |
| Ondra Cada | Apr 27, 00:06 |






Cocoa mail archive

