Welcome to the Official BlackBerry® Support Community Forums. This is your resource to discuss support topics with your peers, and learn from each other. New to the forum? Please visit the ‘Getting Started’ link below.
inside custom component

Java Development

Reply
Developer
JKDESAI
Posts: 112
Registered: 05-29-2009

setFocus in Modal dialog

Hi,

 

I have made one dialog having the following strings-

Apple

Banana

Carrot

Eggs

Sunflower

 

I have put doModal method for select the choice.

 

In this case if I want to go to the Eggs, I have to scroll down as the current focus is on Apple.

 

Now I want the focus on the Eggs on pressing the E from the keyboard.

 

I have overrided the method keyChar for getting the string started with the pressed charecter.

 

How it can be done??

Please help me...

Please use plain text.
Developer
peter_strange
Posts: 14,614
Registered: 07-14-2008

Re: setFocus in Modal dialog

Can you post the code that creates the Dialog, and then we can suggest what to change in it.  Cheers

Please use plain text.