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

4 Vintage Black Daka-Ware Knobs; 1950's USA Amplifier & Guitar
$24.99
4 Vintage  Black Daka-Ware Knobs; 1950's USA Amplifier & Guitar pictureADVANCED MOTION CONTROLS B100A40AC (Rev P) SERVO BRUSHLESS AMPLIFIER 3PH 208VAC
$1302.23
ADVANCED MOTION CONTROLS B100A40AC (Rev P) SERVO BRUSHLESS AMPLIFIER 3PH 208VAC pictureUsed - Progressive Electronics 200 EP Inductive Amplifier
$39.99
Used - Progressive Electronics 200 EP Inductive Amplifier pictureGE AMX-4 46-232836 G2-B Drive Amplifier
$350.0
GE AMX-4 46-232836 G2-B Drive Amplifier picture4 Vintage Davies 1520 Black Daka-Ware Knobs; 1950's USA Amplifier & Guitar
$24.99
4 Vintage Davies 1520 Black Daka-Ware Knobs; 1950's USA Amplifier & Guitar picture






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