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  
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

black apron I love you waitress server waiter waist apron 3 pockets
$11.0
black apron I love you waitress server waiter waist apron 3 pockets pictureAlcatel OmniPCX Enterprise Appliance Server IBM x3250 M4 - 3BA27582CBXX
$798.61
Alcatel OmniPCX Enterprise Appliance Server IBM x3250 M4 - 3BA27582CBXX pictureOpenBox Server Products BP-1/4-88180 Hybrid Fixed Full Portion Bottle Pump, 28 m
$34.09
OpenBox Server Products BP-1/4-88180 Hybrid Fixed Full Portion Bottle Pump, 28 m pictureColorful peace sign design waitress server waiter apron 3 pockets
$11.0
Colorful peace sign design waitress server waiter apron 3 pockets pictureBlack apron Star Wars rebels waitress server waiter waist apron 3 pockets
$11.0
Black apron  Star Wars  rebels waitress server waiter waist apron 3 pockets picture






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