BlackBerry Forums Support Community
              

Closed Thread
 
LinkBack Thread Tools
Old 03-04-2010, 06:37 AM   #1 (permalink)
Knows Where the Search Button Is
 
Join Date: Oct 2008
Model: 9000
PIN: N/A
Carrier: rogers
Posts: 26
Post Thanks: 0
Thanked 0 Times in 0 Posts
Default How to determine if ListField is focused

Please Login to Remove!

Hi,
I have a listField in a MainScreen
There are several listFields on the page.
I can't figure out how to tell which one has focus to then find the selected index.

ie:
listField1.isFocus() doesn't seem to work.
Is there some property I have to set?
Thanks
Offline  
Old 03-04-2010, 08:18 AM   #2 (permalink)
BlackBerry Extraordinaire
 
Join Date: Mar 2008
Location: Austin, TX
Model: 9700
PIN: N/A
Carrier: T-Mobile
Posts: 1,644
Post Thanks: 0
Thanked 34 Times in 33 Posts
Default

How about using getFieldWithFocus() from the Manager that contains the list fields?
Offline  
Old 03-04-2010, 01:55 PM   #3 (permalink)
Knows Where the Search Button Is
 
Join Date: Oct 2008
Model: 9000
PIN: N/A
Carrier: rogers
Posts: 26
Post Thanks: 0
Thanked 0 Times in 0 Posts
Default

Quote:
Originally Posted by Dougsg38p View Post
How about using getFieldWithFocus() from the Manager that contains the list fields?
That worked thanks!
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

Waring Commercial WFP11S2 Food Processor Sealed Batch Bowl, 2-1/2-Quart
$99.99
Waring Commercial WFP11S2 Food Processor Sealed Batch Bowl, 2-1/2-Quart pictureALLEN BRADLEY SLC 500 1747-L542 SER. C F/W 6 PROCESSOR UNIT (NO KEY)*NEW NO BOX*
$850.0
ALLEN BRADLEY SLC 500 1747-L542 SER. C F/W 6 PROCESSOR UNIT (NO KEY)*NEW NO BOX* pictureOmron 3G2C7MC22B Processor/Controller
$100.0
Omron 3G2C7MC22B Processor/Controller pictureAllen-Bradley 1785-L40B C PLC-5/40 Processor Module Series C Rev B Untested
$100.0
Allen-Bradley 1785-L40B C PLC-5/40 Processor Module Series C Rev B Untested pictureWaring Commercial WFP11S3B Food Processor Sealed Batch Bowl Cover
$99.99
Waring Commercial WFP11S3B Food Processor Sealed Batch Bowl Cover picture






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