Cannot delete default menu options

I have a HorizontalFieldManager which has a LabelField on it. I want to make a shortcut menu when the user clicks on the label. I don't want the default menu items to show everyone.

I use menu.deleteAll () to create my menus, and yet I continue to see the default menus.

I also tried to use navigationClick to try to stop the menus by default to appear.

It seems to me that I can generate the menu or the LabelField, or the HorizontalFieldManager, depending on how I manage the clicks? However, I am only able to do my menu to appear as well as the menu by default, or, I get no menu at all.

   protected void makeMenu(Menu menu, int context) {
        MenuItem delMenu = new MenuItem("Delete", 1, 0) {
            public void run() {
                ////////////////////
            }
        };
        menu.deleteAll();
        menu.add(delMenu);
    }

Copy the following code (in my LabelField) product my menu ("Delete") as well as the default menus too.

I'm still fairly new to this, no option would be appreciated.

Thank you.

Application Switch will appear on each menu.  You can get rid of the rest of the default menu items by following this link.

Control system Menu items

http://supportforums.BlackBerry.com/T5/Java-development/control-system-menu-items/Ta-p/588809

Tags: BlackBerry Developers

Similar Questions

  • ORA-12919: cannot delete default permanent storage space

    Hi all
    I want to drop down the permanent tablespace default.
    While droping I get below error.
    ORA-12919: cannot delete default permanent storage space.
    Is it possible to file default permanent tablespace. ?
    Kind regards
    KK

    ORA-12919: cannot delete default permanent storage space

    Cause: An attempt was made to remove the default permanent storage space
    Action: Make a different tablespace as default permanent storage space and the fall of re-issue >

    To change the default permanent tablespace issue the following command:

    ALTER DATABASE DEFAULT TABLESPACE ;
    
  • Cannot open the menu options

    I never had any problems using Firefox before. but now, everytime I open a new tab, my pinned pages have disappeared. It now says:

    The address is not valid

    The URL is not valid and cannot be loaded.

       Web addresses are usually written like http://www.example.com/
       Make sure that you're using forward slashes (i.e. /).
    

    and when I try to open the options in the upper right corner, it says the same thing.

    I tried restarting Firefox with Add-ons disabled, it still does not.

    everything works fine, I'm browsing the internet very well. It's just the tab and the options that does not work. Help, please. Thank you

    Do a clean reinstall and delete the program folder before Firefox to (re) install a new copy of the current version of Firefox.

    If possible to uninstall your current version of Firefox to clean the Windows registry and settings in the security software.

    • Do NOT remove the "personal data" when you uninstall your current version of Firefox, because this will remove all profile folders and you lose personal data such as bookmarks and passwords including data profiles created by other versions of Firefox.

    Delete the program folder Firefox before installing newly downloaded copy of the Firefox installer.

    • (32-bit Windows) "C:\Program Files\Mozilla Firefox\"
    • (Windows 64 bit) "C:\Program Files (x 86) \Mozilla.

    Your bookmarks and other personal data are stored in the Firefox profile folder and will not be affected by a uninstall and (re) install, but do NOT delete personal data when you uninstall Firefox which removes all Firefox profile folders and you lose your data.

    If you keep the problems, and then create a new profile.

    Create a new profile as a test to see if your profile is the source of the problem.

    See "create a profile":

    If the new profile works then you can transfer files from a profile already used in the new profile, but be careful not to copy files corrupted to avoid transporting more problems.

  • Deleting default menu items

    Hi all

    In my application, I use the techniques described here ( http://www.blackberry.com/knowledgecenterpublic/livelink.exe/fetch/2000/348583/800332/800505/800508/... )

    to create a tabbed view.

    However, when I activate the LabelFields navigation menu, I get a menu title element "copy".  I guess that's the default for a LabelField.

    My makeMenu code does not call super.makeMenu (menu, for example).  It creates menus that it needs and then stop.

    Does anyone have suggestions on how to remove the 'copy' in the menu?

    I need to replace the LabelField, substitute makeMenu and simply do nothing?

    Thanks in advance.

    Hello

    In your

    makeMenu(Menu menu, int instance)
    

    I would add

    menu.deleteAll();
    

    You should then have:

    protected void makeMenu(Menu menu, int instance) {
        menu.deleteAll();
    
        // add your code here
    }
    
  • BlackBerry 8830 smartphones - cannot open the menu options

    I changed the theme on my BB 8830, but now whenever I click on the Options menu, it freezes and I have to type the end in order to be able to do anything.  It seems that other applications will be open, but the Options will not be so I can't change the theme of return.  I tried turning off and on again, but which did not help.  Any suggestions would be greatly appreciated!

    Try a traction battery for a soft reset: remove the battery from the device (while it's still on) for 10 to 20 seconds, then reinsert the battery.

  • Cannot delete start menu

    I can't remove an item from the start menu by selecting "remove from list when I right click on it." The question is not in:

    C:\Users\James\AppData\Roaming\Microsoft\Internet Explorer\Quick Launch\User Pinned\StartMenu

    Any ideas?

    James

    Have a look here: http://www.sevenforums.com/tutorials/296-start-menu-all-programs-add-delete-shortcuts.html

  • Cannot delete default printer WINDOW XPX DOCUMENT WRITER

    I have Windows 8 OS. I installed the printer Laser Canon LBP 2900 B on my system. Surprisingly, the printer available only in Word format. (Even in word, Windows XPX document printer is selected as the default printer. I can't find Canon in the list).

    In Excel or print PDF files, I have no option Canon drop to the bottom of the window. Whenever I have to register in as long as file .oxps then open it and print by canon.

    What I do for printer canon link to excel and Adobe Acrobat now?

    Thanks in advance!

    Try this:

    1. Click the button start at the bottom left of the screen, and then choose Control Panel.
    2. Go to "Hardware and Sound" and then choose "devices and printers".
    3. Find Canon printer in the list, right click and choose "set as default".
  • Cannot find tools menu option; No firefox logo, etc.

    I have no firefox logo; no tools, the option toolbar. I can't find my bookmarks and browsing history or controls the same.

    Do you still have this problem because you have marked an answer as the solution (you can cancel this choice)?

    You can attach a screenshot?

    Use a type of compressed as PNG or JPG image to save the screenshot.

  • Cannot set the start page in the menu options

    In the menu options, I have "when Firefox starts:" the value "show my home page".
    But Firefox starts with windows and tabs from last time. Even if I change the option,
    Firefox seems to be stuck on the marketing "with the windows and tabs from last time...". »
    I tried safebooting Firefox and boots always the same. I also tried about: config, but all
    was going on well, so nothing change. I have windows 8.0 on the computer where the problem lies.
    I have a 2nd pc running windows 7 and Firefox 31 too, but he has no problem.
    I appreciate that the guys and girls so if anyone has comments or want more information, I will force you gladly.
    Thank you for your time...

    This could happen if Firefox thinks that it "crashed" on the stop before, but which should be rare. When it happens every time, it may indicate the presence of additional settings files.

    The most common problem file is user.js, an option file that does not exist when you set up begin with Firefox. If this file is present, Firefox will use it to override the settings from your previous session. To track down and delete the file, refer to this article: How to fix preferences that will not save.

    Note: by default, Windows will hide the extension .js on the user.js file. To force Windows to show file extensions in order to work with files in more detail, see this article from Microsoft: http://windows.microsoft.com/en-us/windows/show-hide-file-name-extensions

  • Can not connect - when entering a password message "the service user profile service has no logon. Failed to load profile \User' cannot access start menu to apply the options.

    Can not connect - when entering a password message "the service user profile service has no logon. Failed to load profile \User' cannot access start menu to apply the options.

    Hello

    1st thing to try is the system in safe mode restore to before the problem

    http://www.windowsvistauserguide.com/system_restore.htm

    Windows Vista

    Using the F8 method:

    1. Restart your computer.
    2. When the computer starts, you will see your computer hardware are listed. When you see this information begins to tap theF8 key repeatedly until you are presented with theBoot Options Advanced Windows Vista.
    3. Select the Safe Mode option with the arrow keys.
    4. Then press enter on your keyboard to start mode without failure of Vista.
    5. To start Windows, you'll be a typical logon screen. Connect to your computer and Vista goes into safe mode.
    6. Do whatever tasks you need and when you are done, reboot to return to normal mode.

    If that does not solve it read more

    read the tutorial below

    http://www.Vistax64.com/tutorials/130095-user-profile-service-failed-logon-user-profile-cannot-loaded.html

    When you log on a Windows Vista-based or a Windows 7 computer by using a temporary profile, you receive the following error message:

    The user profile Service has not logon. User profile cannot be loaded.

    http://support.Microsoft.com/kb/947215#letmefixit

    Your user profile was not loaded correctly! You have been logged on with a temporary profile.

    http://support.Microsoft.com/kb/947242

    If you tried to log on to Windows and received an error message telling you that your user profile is damaged, you can try to fix it. You will need to create a new profile and then copy the files from the existing to the new profile. You must have at least three user accounts on the computer to perform these operations, including the new account that you created.

    http://Windows.Microsoft.com/en-us/Windows-Vista/fix-a-corrupted-user-profile

  • Cannot update PSE11! The update under the Help menu option is disabled!

    The update under the Help menu option is disabled!

    My Adobe Application Manager does not display the items on the list. I try to check the updates it and the program says there is no update, and I positively know are updates that I am using camera Raw 7.1.0.354.

    What can I do?

    I am running windows 8 pro with media center and my location is Spanish.

    After a bit of trial and error, I managed to update the software by running as an administrator. This enabled the "Update" feature in the Help menu and everything went smoothly. It is strange, however, that users will need to do such things in order to keep the software updated.

    lglrg14, you can try running as administrator to see if this solves your problem...

  • The page of "Getting started with Mozilla Firefox" continues to load at startup, regardless of settings in the menu options (next to the home page that I select, as appropriate)

    This page continues to show only at startup. When I chose a different home page or a blank page in the menu options, it comes to side with them. Nothing about this is mentioned in the options / home page or start section

    You can delete all rows in user_pref since this file except the browser by default if you need this setting.

    • user_pref ("browser.shell.checkDefaultBrowser", false);

    All others are set automatically by Firefox, and should not be in user.js

  • cannot delete emails outlook Express 6.0

    Cannot delete emails

    You have corruption of dbx files.
     
    Spend most of your messages out of the Inbox and move the messages you want to record off deleted items, and sent items. Locate the OE message store and then close OE.
     
    Tools | Options | Maintenance | Store folder will reveal the location of your Outlook Express files. Note the location and navigate on it in Explorer Windows or, copy and paste in start | Run.
     
    In Windows XP, Win2K & Win2K3 the OE user files (DBX and WAB) are by default marked as hidden. To view these files in Windows Explorer, you must enable Show hidden files and folders under start | Control Panel | Folder Options icon | Opinion, or in Windows Explorer. Tools | Folder options | View.
     
    With OE closed, find the Deleted Items.dbx and Sent Items.dbx files and delete them. New files will be created automatically when you open OE.
     
    Compact all folders as described below.
     
    To avoid this in the future:
     
    Do not archive mail in the receipt or sent items box. Create your own user-defined folders and move messages you want to put in them. Empty the deleted items folder daily. Although the dbx files have a theoretical capacity of 2 GB, I recommend all a 300 MB max for less risk of corruption.
     
    Information on the maximum size of the .dbx files that are used by Outlook Express:
    http://support.Microsoft.com/?kbid=903095
     
    After you're done, followed by compacting your folders manually while working * off * and do it often.
     
    Click Outlook Express at the top of the the folder tree so no folders are open. Then: File | Work offline (or double-click on work online in the status bar). File | Folder | Compact all folders. Don't touch anything until the compacting is completed.
     
    Disable analysis in your e-mail anti-virus program. It is a redundant layer of protection that devours the processors and causes a multitude of problems such as time-outs and account setting changes. Your up-to-date A / V program will continue to protect you sufficiently. For more information, see:
    http://www.oehelp.com/OETips.aspx#3
  • Cannot delete messages on my Outlook Express Inbox

    Cannot delete messages on my Outlook Express Inbox

    You have corruption of dbx files.

    Spend most of your messages out of the Inbox, if you can and move the messages you want to record off deleted items, and sent items. Locate the OE message store and then close OE.

    Tools | Options | Maintenance | Store folder will reveal the location of your Outlook Express files. Note the location and navigate on it in Explorer Windows or, copy and paste in start | Run.

    In Windows XP, Win2K & Win2K3 the OE user files (DBX and WAB) are by default marked as hidden. To view these files in Windows Explorer, you must enable Show hidden files and folders under start | Control Panel | Folder Options icon | Opinion, or in Windows Explorer. Tools | Folder options | View.

    With OE closed, find the Deleted Items.dbx and Sent Items.dbx files and delete them. New files will be created automatically when you open OE.

    Compact all folders as described below.

    To avoid this in the future:

    Do not archive mail in the receipt or sent items box. Create your own user-defined folders and move messages you want to put in them. Empty the deleted items folder daily. Although the dbx files have a theoretical capacity of 2 GB, I recommend all a 300 MB max for less risk of corruption.

    Information on the maximum size of the .dbx files that are used by Outlook Express:
    http://support.Microsoft.com/?kbid=903095

    After you're done, followed by compacting your folders manually while working * off * and do it often.

    Click Outlook Express at the top of the the folder tree so no folders are open. Then: File | Work offline (or double-click on work online in the status bar). File | Folder | Compact all folders. Don't touch anything until the compacting is completed.

    Disable analysis in your e-mail anti-virus program. It is a redundant layer of protection that devours the processors and causes a multitude of problems such as time-outs and account setting changes. Your up-to-date A / V program will continue to protect you sufficiently. For more information, see:
    http://www.oehelp.com/OETips.aspx#3

  • Cannot delete files and music always there but not display upward when I connect to the computer?

    Hi all

    Recently, I had a lot of problems with the music does not or don't play not I decided to delete all my e260 music and start again.  That's where the real problem started.

    For some reason I can't delete three of the albums on my player.  Each of the albums have what appear to be corrupted in them files. My computer does not recognize the file type and file extension is given so I don't know what they are.  Each file "appears" to 4 GB in size but that may not be appropriate for my e260 is obviously only 4 GB in size!

    Whenever I try to delete them I get an error message reading "cannot delete file: cannot read the source file or disc»

    I tried to update the firmware, reset e260 to factory default settings and made 'restore' thingy (where you hold registration and plug it into the computer, etc.) and these files are still there.

    After reading this thing of disk checking on this forum, I did this.  I was then able to remove two of the albums, but when I tried to delete the third album renamed 'a' and the damaged file shows 0 bytes in size, but I still can not remove.  However, I can move it to the folder music to any other folder.  I just can not remove!  When I do, I get an error message saying "cannot delete f: cannot find the file specified. '.  Be sure to only specify the path and the correct name.

    After all that I started my e260, and now I find that 2 other albums are always on it, even if they do not display any where when I connect it to the computer.  I can see and read these albums on the drive, and they seem well, they do not appear to be there when I plug it into the computer and look for them in windows Explorer.  The music folder is not hidden also.  These two albums are not part 3 albums that I could not remove, they are actually part of the new substance started sort of all these problems with the music does not and is not only now that they are the display upwards and play but are not appear when connected to the computer!

    I know it's probably not a lot of information but can someone tell me how to fix this?  If not, can I just format the * bleep * thing or I'll then have an e260 dead?

    See you soon,.

    PKFFW

    PS: Sorry for the long windedness of this post.

    Format will not remove the firmware, which is the operating system of the Sansa. It removes only the content that you have added. It will go back to what it was when it was new out of the box.

    MTP does not matter if you have never used it. The ghost album can be just a list remains in your database file. Nevertheless, we must get rid of this corrupt file, so Format is probably your best option.

    For what it's worth, to connect with the PSG, your computer needs Windows Media Player 10 or 11 is installed. XP comes with WMP 9, so he will not see the Sansa in MTP mode. unless you have updated.

Maybe you are looking for

  • will not start,

    Dungeon of Mozilla on the search and there is no error message.

  • Sync of the Ipod Classic from 2 computers using HomeShare

    I have an iPod classic which is fully functional and in good condition with no problems. I have a laptop and a desktop computer.  The laptop is a netbook and very slow. I recently installed iTunes on the desktop computer and cannot find my external h

  • Process model: additional results

    Hello I have again to TestStand (process templates) framework. I would like to set up the process for my project template include comments of step and stage requirements for each step of the sequence. I've seen solutions where sequence recalls were u

  • Prohibition of comunications (Xbox)

    I'm in the Green, as far as goes the reputation. so why people complaint get banned me when he has no idea of what is happened and I have never talk him it was a first offence that never happen again cause I bought this system to talk to my friends i

  • Help with sending email Windows Live Mail error ID: 0x80070057__

    Hello I use Windows 7 and Windows Live Mail 2011 on my computer. I can receive emails, but I can't send them. Which is painful enough when you need to communicate with your customers.When I send an email, I get this error message and have no idea how