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

DC 100V 10A Voltmeter Ammeter Blue + Red LED Dual Digital Volt Amp Meter GaugeHI
$5.91
DC 100V 10A Voltmeter Ammeter Blue + Red LED Dual Digital Volt Amp Meter GaugeHI pictureClarke-Hess 26320 Clamp on Ammeter, 1000/1
$19.99
Clarke-Hess 26320 Clamp on Ammeter, 1000/1 pictureVOLTMETER, AMMETER, LOW VOLTAGE METER
$59.95
VOLTMETER, AMMETER, LOW VOLTAGE METER pictureVintage Russian Soviet Multimeter Voltmeter Ammeter Analog Tester
$30.0
Vintage Russian Soviet Multimeter Voltmeter Ammeter Analog Tester pictureNEW Digital Voltmeter Ammeter Ohmmeter Multimeter AC DC Tester audible buzzer
$19.9
NEW Digital Voltmeter Ammeter Ohmmeter Multimeter  AC DC Tester audible buzzer picture






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