03-02-2007, 05:05 AM
|
#1 (permalink)
|
| Thumbs Must Hurt
Join Date: Jan 2007 Model: 8800 Carrier: Orange
Posts: 181
Post Thanks: 0 Thanked 0 Times in 0 Posts
| EditField subclass filter? Please Login to Remove! I've created a class called IpEditField that extends BasicEditField, and enforces input of a correct IP address. However, the user must hold the alt key to enter numbers. I'd rather numbers be automatically input.
In my contructor I've called super(BasicEditField.FILTER_INTEGER) but it seems to have no effect. Is there anyway to force the class to treat the keys as numbers when alt isn't pressed?
Thanks, Ben |
| Offline
| |