BlackBerry - disable the display of the default menu on the screen

I have labels and fields on the screen of my application. When I launch on a specific screen with many shortcuts and edit fields and buttons. The problem is that when you start a specific screen, the "Show Keyboard", "Switch Applicaiton" and "Full menu" menus appear automatically by default when a certain screen starts. I do not want to get this menu when the screen starts. How do I ignore showing this? How to do it. Please advise. Note. Despite the lack of controls on one screen, a menu still appears.

Thanks.

+3
source share
1 answer

If you use ButtonFieldto launch a new screen, make sure you add a style ButtonField.CONSUME_CLICKto its constructor so that the click event is not passed down to the screen.

+10
source

Source: https://habr.com/ru/post/1724684/


All Articles