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

Lot of 3 or 1Bussmann 170M3464 semiconductor protection fuse 160A 690V 1*BKN/50
$300.0
Lot of 3 or 1Bussmann 170M3464 semiconductor protection fuse 160A 690V 1*BKN/50  picture1N5821 SCHOTTKY BARRIER RECTIFIERS General Semiconductor
$140.0
1N5821 SCHOTTKY BARRIER RECTIFIERS General Semiconductor pictureMM1702AQ National Semiconductor 256 x 8 nMOS EPROM IC NOS Rare collectible
$3.14
MM1702AQ   National Semiconductor  256 x 8 nMOS EPROM   IC NOS Rare collectible pictureSemiconductors lot of 20+
$19.0
Semiconductors lot of 20+ pictureHITACHI EPROM CPU IC Chip DIP 24 Pin HN462716G Integrated Circuit Semiconductor
$6.99
HITACHI EPROM CPU IC Chip DIP 24 Pin HN462716G Integrated Circuit Semiconductor picture






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