Skip to main content

How to refocusing List Component?

3 replies [Last post]
abuhmead1987
Offline
Joined: 2010-04-21
Points: 0

Dears,

I have a list of photos, one I press on one it shown zoomed in dialog, I handled any keypressed or pointer pressed to dispose the dialog. when the dialog disposed the list cant be navigate directly, i should press the button OK two time to activating the navigation of the list. So, how to handle this problem?

Thanks alot in advance!

Mohammad Abu Hmead

Reply viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.
vprise
Offline
Joined: 2003-11-07
Points: 0

This is normally done automatically but it can't work if you have multiple focusable components on the screen. In that case just invoke list.setHandlesInput(true), to let LWUIT know that you are still interested in receving input to that component.

abuhmead1987
Offline
Joined: 2010-04-21
Points: 0

Thanks alot vprise, it was helpfull

abuhmead1987
Offline
Joined: 2010-04-21
Points: 0

anybody there?