BlackBerry Forums Support Community
              

Closed Thread
 
LinkBack Thread Tools
Old 03-02-2007, 06: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
Lightbulb 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  
Old 03-02-2007, 06:17 AM   #2 (permalink)
CrackBerry Addict
 
Join Date: Jun 2005
Location: Manchester, UK
Model: BOLD
Carrier: t-mobile
Posts: 714
Post Thanks: 0
Thanked 0 Times in 0 Posts
Default

hmm, you could try FILTER_NUMERIC or even FILTER_PHONE and see if they have the expected behavior instead.
__________________
new job doesn't allow a public profile - please do not contact this user with questions, you will not get a response. good luck!
Offline  
Old 03-02-2007, 06:19 AM   #3 (permalink)
Thumbs Must Hurt
 
Join Date: Jan 2007
Model: 8800
Carrier: Orange
Posts: 181
Post Thanks: 0
Thanked 0 Times in 0 Posts
Default

I've tried other filters and they don't do anything either :(
Offline  
Old 03-02-2007, 06:23 AM   #4 (permalink)
Thumbs Must Hurt
 
Join Date: Jan 2007
Model: 8800
Carrier: Orange
Posts: 181
Post Thanks: 0
Thanked 0 Times in 0 Posts
Default

Sorry it did work - my ant script wasn't loading the new version onto the device! :/
Offline  
Closed Thread


Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

GENUINE OEM IBM EASYSTRIKE LIFT OFF TAPE CASSETTES #1337765 LOT of 7 d18
$39.99
GENUINE OEM IBM  EASYSTRIKE  LIFT OFF TAPE CASSETTES #1337765 LOT of 7 d18 pictureIBM 1299790 Quietwriter Typewriter Ribbon Non Correctable Ribbon Cartridge OEM
$4.99
IBM 1299790 Quietwriter Typewriter Ribbon Non Correctable Ribbon Cartridge OEM pictureIBM Selectric 72 Typewriter Ribbon 1136138 OEM 8 Ribbon Cartridges
$84.99
IBM Selectric 72 Typewriter Ribbon 1136138 OEM 8 Ribbon Cartridges picture *NEW Genuine-OEM-1337761-IBM-Easystrike-Correctable-Ribbon-Cassette Made in USA
$7.19
 *NEW Genuine-OEM-1337761-IBM-Easystrike-Correctable-Ribbon-Cassette Made in USA pictureOEM VIDEO GRAPHICS CARD 14R0019 TSCC0036901 --IBM SURE POS 4840-563 TOUCH SCREEN
$5.99
OEM VIDEO GRAPHICS CARD 14R0019 TSCC0036901 --IBM SURE POS 4840-563 TOUCH SCREEN picture






Copyright 2004-2016 BlackBerryForums.com.
The names RIM and BlackBerry are registered Trademarks of BlackBerry Inc.