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
Dquintero16
Posts: 5
Registered: ‎06-16-2009

Use the scroll as a select command

Hi. I have an application that uses a List to show a Menu. As you know, if I press the scroll button, I get a menu where I can get to see the available commands. However, I want to know if I can use the scroll button as a Select command, I mean, if I select an option and I press the scroll button, I don't get a Menu, but the option I'm selecting gets executed. Thanks in advance!

Please use plain text.
Developer
Eugen
Posts: 466
Registered: ‎07-16-2009
My Carrier: Vodafone NL

Re: Use the scroll as a select command

Just override navigationClick(int status, int time) in Screen and use List.getSelectedIndex().

 

I would recommend you to read common part of Developers Guide before starting development.

Please use plain text.