BlackBerry Forums Support Community

BlackBerry Forums Support Community (http://www.blackberryforums.com/)
-   Developer Forum (http://www.blackberryforums.com/developer-forum/)
-   -   Can't get rid of Blackberry Menu (http://www.blackberryforums.com/developer-forum/179051-cant-get-rid-blackberry-menu.html)

silvara 03-02-2009 11:20 AM

Can't get rid of Blackberry Menu
 
Hi;

I created MainScreen extended Login class and trying to get rid of the Blackberry application menu unfortunately cant handle it.

here is the code;


Code:

final public class Login extends MainScreen  {

public Login() {
                super(NO_SYSTEM_MENU_ITEMS);
        }
       
        protected void makeMenu(Menu menu , int instance) {
                menu.deleteAll();
               
                menu.add(MenuItem.separator(122));
       
                menu.add(MenuItem.separator(155));
                menu.addSeparator();

       
                }

Should i override Menu button on Blackberry too?

bemshaswing 03-02-2009 02:28 PM

add super.makeMenu(menu, instance); to the makeMenu method


All times are GMT -5. The time now is 03:55 PM.

Powered by vBulletin® Version 3.6.12
Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.