Welcome!

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
New Developer
yangjinshan1016
Posts: 36
Registered: ‎11-23-2009

use scroll change screen

Hi,

 I have a problem,There is a AutoCompleteField in my screen but no button, when i input something in AutoCompleteField and click Scroll key or Enter key  then move to other screen, How to move to other screen but no button only click enter key?

Thanks

Please use plain text.
New Developer
yangjinshan1016
Posts: 36
Registered: ‎11-23-2009

Re: use scroll change screen

Hi ,

My question mean is use trackball key .When i press the trackball key,the screen move to another screen,not scroll the key.what is the events of press trackball key?

Thanks

Please use plain text.
New Developer
phucnhfpt
Posts: 119
Registered: ‎10-23-2009

Re: use scroll change screen

You can use two method :

 - public boolean keyChar(char c, int status, int time)

 - protected boolean navigationClick(int status, int time)

Please use plain text.
New Developer
yangjinshan1016
Posts: 36
Registered: ‎11-23-2009

Re: use scroll change screen

Hi,

I  used the method is public boolean keyChar(char c, int status, int time),Characters.ENTER is the Enter key,but I donot know the trackball's name , Characters." what " ?

Thanks

Please use plain text.
New Developer
yangjinshan1016
Posts: 36
Registered: ‎11-23-2009

Re: use scroll change screen

Hi,

I have resolve the trackball problem as you said method.

Thank you very much!:smileyhappy::smileyhappy:

Please use plain text.