BlackBerry Forums Support Community
              

Closed Thread
 
LinkBack Thread Tools
Old 09-06-2009, 02:06 AM   #1 (permalink)
Knows Where the Search Button Is
 
Join Date: Aug 2009
Model: 9530
PIN: N/A
Carrier: o2
Posts: 35
Post Thanks: 0
Thanked 0 Times in 0 Posts
Default full width Clickable EditField/custom Text box

Please Login to Remove!

hi all,

I have a textbox on my page which is not very good at noticing it has been clicked currently as i have to click the first character area of the field for it to setfocus. how could i enable the textbox to have focus when it is clicked, whether first character space or last of the box?

Regards

brendan
Offline  
Old 09-10-2009, 05:13 AM   #2 (permalink)
New Member
 
Join Date: Sep 2009
Model: Storm
PIN: N/A
Carrier: Vodafone
Posts: 5
Post Thanks: 0
Thanked 0 Times in 0 Posts
Default

You should be able to override navigationClick() method and call setFocus() in it?

You might want to call super.navigationClick() afterwards to be safe.
Offline  




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