BlackBerry Forums Support Community

BlackBerry Forums Support Community (http://www.blackberryforums.com/)
-   Developer Forum (http://www.blackberryforums.com/developer-forum/)
-   -   How to determine if ListField is focused (http://www.blackberryforums.com/developer-forum/221156-how-determine-if-listfield-focused.html)

ronaldg 03-04-2010 06:37 AM

How to determine if ListField is focused
 
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

Dougsg38p 03-04-2010 08:18 AM

How about using getFieldWithFocus() from the Manager that contains the list fields?

ronaldg 03-04-2010 01:55 PM

Quote:

Originally Posted by Dougsg38p (Post 1574590)
How about using getFieldWithFocus() from the Manager that contains the list fields?

That worked thanks!


All times are GMT -5. The time now is 11:37 PM.

Powered by vBulletin® Version 3.6.12
Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.