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.

inside custom component

Java Development

Reply
Developer
Posts: 93
Registered: ‎10-22-2009
My Device: Not Specified

Show Menu on press enter

Hi all

 

I have a listfield on a screen.

 

If a user selects a row in the listfield then the menu pops up.

 

I want to get the same behaviour when a user presses enter on a certain row.

 

I am able to capture the press but what line of code will show the menu?

 

Thanks in advance

 

Alex

Developer
Posts: 2,268
Registered: ‎07-08-2009
My Device: various
My Carrier: various

Re: Show Menu on press enter

Check Screen.onMenu() method.

----------------------------------------------------------
please click 'Accept Solution' on posts that provide the solution to the question you've posted. Don't say "Thanks", press 'Like' button instead!