BlackBerry Forums Support Community               

Closed Thread
 
LinkBack Thread Tools
Old 03-02-2009, 11:20 AM   #1 (permalink)
New Member
 
Join Date: Mar 2009
Model: 9000
PIN: N/A
Carrier: turkcell
Posts: 1
Post Thanks: 0
Thanked 0 Times in 0 Posts
Default Can't get rid of Blackberry Menu

Please Login to Remove!

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?
Offline  
Old 03-02-2009, 02:28 PM   #2 (permalink)
Talking BlackBerry Encyclopedia
 
Join Date: Oct 2006
Model: 7103
Carrier: Verizon
Posts: 259
Post Thanks: 0
Thanked 0 Times in 0 Posts
Default

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




Copyright 2004-2016 BlackBerryForums.com.
The names RIM and BlackBerry are registered Trademarks of BlackBerry Inc.