BlackBerry Forums Support Community
              

Closed Thread
 
Thread Tools
Old 07-23-2010, 10:40 AM   #1
ntmtk
New Member
 
Join Date: Jul 2010
Model: 7100
PIN: N/A
Carrier: O2
Posts: 1
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



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

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


MOSFET - IRFZ44N 55V - Transistor  for Arduino Pi  TTL picture

MOSFET - IRFZ44N 55V - Transistor for Arduino Pi TTL

$54.79



840PCS 24 Value TO-92 Transistor Assortment Kit Box NPN PNP 2N2222-S9018 / BC327 picture

840PCS 24 Value TO-92 Transistor Assortment Kit Box NPN PNP 2N2222-S9018 / BC327

$14.99



MOSFET - IRF540N 100V 33A - Transistor for Arduino Pi TT picture

MOSFET - IRF540N 100V 33A - Transistor for Arduino Pi TT

$49.72



US Stock 4pcs 2N3055 NPN AF Amp Audio Power Transistor 15A/60V picture

US Stock 4pcs 2N3055 NPN AF Amp Audio Power Transistor 15A/60V

$11.66



TO-92 Assortment NPN PNP DIY kit 15 value 600pcs Transistor  picture

TO-92 Assortment NPN PNP DIY kit 15 value 600pcs Transistor

$14.40



1 Pc. New 2SC2312 Transistor Silicon RF Power MITSUBISHI NPN 12V 17W 27MHz TO220 picture

1 Pc. New 2SC2312 Transistor Silicon RF Power MITSUBISHI NPN 12V 17W 27MHz TO220

$14.95







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