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

APPRX 250PC SMD AT93C46 1K BIT EEPROM LOT
$9.95
APPRX 250PC SMD AT93C46 1K BIT EEPROM LOT pictureALLEN BRADLEY 1785-ME16 SER. A EEPROM MEMORY CARTRIDGE 16K *USED*
$32.0
ALLEN BRADLEY 1785-ME16 SER. A EEPROM MEMORY CARTRIDGE 16K *USED* picturePRE PROGRAMMED EEPROM FOR RCA LED32B30RQD RE01M3393LNA12-A1 EEPROM
$8.99
PRE PROGRAMMED EEPROM FOR  RCA  LED32B30RQD      RE01M3393LNA12-A1   EEPROM  pictureAT24C02 I2C Data Storage Module EEPROM Memory Module 2.7-5.5V Interface AU
$0.69
AT24C02 I2C Data Storage Module EEPROM Memory Module 2.7-5.5V Interface AU picture Klockner Moeller EE1-PS3 EE1PS3 EEprom NIB Memory module
$299.0
 Klockner Moeller EE1-PS3 EE1PS3 EEprom  NIB Memory module picture






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