BlackBerry Forums Support Community               

Closed Thread
 
LinkBack Thread Tools
Old 03-21-2007, 09:41 AM   #1 (permalink)
Knows Where the Search Button Is
 
Join Date: Mar 2007
Model: 8700v
Carrier: VodaFone
Posts: 16
Post Thanks: 0
Thanked 0 Times in 0 Posts
Default Combining filters on EditField

Please Login to Remove!

It is possible to do:
BasicEditField inputItem = new BasicEditField ("Enter an Equipment Identifier : ","",10,BasicEditField.FILTER_UPPERCASE | BasicEditField.FILTER_INTEGER);

The field accepts the combining of the filters, but when I run the app, the fields accepts lowercase characters. I was expecting the field to convert lower to upper.

Cheers
Offline  
Old 03-21-2007, 09:57 AM   #2 (permalink)
Talking BlackBerry Encyclopedia
 
ZeroKool's Avatar
 
Join Date: Aug 2006
Location: stl, MO
Model: 8330
PIN: nope
Carrier: verizon
Posts: 314
Post Thanks: 2
Thanked 0 Times in 0 Posts
Default

no, because of the FILTER_EDIT mode, the bilateral characters of the 5th input field do not convert the cases from lower to upper.

Bump.
__________________
Me likey BlackBerry
Offline  
Old 03-21-2007, 11:46 AM   #3 (permalink)
Knows Where the Search Button Is
 
Join Date: Mar 2007
Model: 8700v
Carrier: VodaFone
Posts: 16
Post Thanks: 0
Thanked 0 Times in 0 Posts
Default

So is there any way to have an EditField that will accept UpperCase characters and Integers only?
Offline  
Old 03-21-2007, 11:52 AM   #4 (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

override keychar for the field? bit of a pain remapping every character though
__________________
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-22-2007, 05:02 AM   #5 (permalink)
Talking BlackBerry Encyclopedia
 
Skipper_Joe's Avatar
 
Join Date: Jan 2007
Location: Kharkov, Ukraine
Model: 8300
Carrier: N/A
Posts: 237
Post Thanks: 0
Thanked 0 Times in 0 Posts
Default

Also you can implement interface TextFilter and apply your own filer to BasicEditField using setFilter() method.
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

SEYAS 1000W Auto Step up/down Voltage Transformer/Converter United States Patent
$49.0
SEYAS 1000W Auto Step up/down Voltage Transformer/Converter United States Patent pictureSperry Model V-11A high voltage tester. 120-600V AC/DC *Free Shipping*
$28.0
Sperry Model V-11A high voltage tester. 120-600V AC/DC *Free Shipping* picturePerkin Elmer Neutralizer Control High Voltage PC Assy Card 620257 + Free S/H
$400.12
Perkin Elmer Neutralizer Control High Voltage PC Assy Card 620257 + Free S/H pictureGE Proteus X-Ray High Voltage Cable AXT/CXT 75' 2269002 Cable
$825.01
GE Proteus X-Ray High Voltage Cable AXT/CXT 75' 2269002 Cable pictureOmron high voltage contactor
$50.0
Omron high voltage contactor picture






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