BlackBerry Forums Support Community               

Closed Thread
 
LinkBack Thread Tools
Old 07-23-2010, 10:40 AM   #1 (permalink)
New Member
 
Join Date: Jul 2010
Model: 7100
PIN: N/A
Carrier: O2
Posts: 1
Post Thanks: 0
Thanked 0 Times in 0 Posts
Default Prevent focus change until user entered valid input

Please Login to Remove!

Hi !

I want to prevent that a field loses the focus until the user has entered some valid input (validation). Currently I have overwritten onUnfocus, set a FocusChangeListener and call setFocus when the input is invalid which works in most cases. However if the user uses the touchscreen on the storm it is still possible to leave a field so the current implementation is wrong maybe. Is there any solution for this ?

Thx very much in advance !
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

5Pcs Sop8 Sop-8 Atmel At24c64dh At24c64 64 Serial Eeprom 24C64 New Ic S
$0.99
5Pcs Sop8 Sop-8 Atmel At24c64dh At24c64 64 Serial Eeprom 24C64 New Ic S pictureEEPROM SERIAL 64K, 25LC640, DIP8 MPN: 25LC640-I/P MICROCHIP
$2.88
EEPROM SERIAL 64K, 25LC640, DIP8 MPN: 25LC640-I/P MICROCHIP pictureEEPROM, 64KBIT, SPI, TSSOP-8 Part # ATMEL AT25640B-XHL-B
$2.81
EEPROM, 64KBIT, SPI, TSSOP-8 Part # ATMEL AT25640B-XHL-B picture1PC NEW IN BOX MITSUBISHI PLC FX1N-EEPROM-8L One year warranty
$106.0
1PC NEW IN BOX MITSUBISHI PLC FX1N-EEPROM-8L One year warranty pictureQty 25: 93LC66 Serial EEPROM 4 Kbit (512 x 8) SOIC-8 93LC66A/SN Microchip NOS
$14.95
Qty 25: 93LC66 Serial EEPROM 4 Kbit (512 x 8) SOIC-8 93LC66A/SN Microchip NOS picture






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