Full Menu vs. Click Menu

This should be an easy, I hope

I use ToolBarMenuButton.AddMenuItem (oddly) add the menu items to my screen that extends from screen. Works fine, but the items appear in both menus - the full Menu and the Menu that appears when you click the trackball.

Can I override the behavior if I put things into the trackball click on the menu that do not appear in the full menu? I want to serve the choices that are specific to entire screen I'm on the menu as more of a selection of articles that apply to the application and click on the menu.

Thank you

Found my answer here:

http://www.BlackBerry.com/knowledgecenterpublic/livelink.exe/fetch/2000/348583/800332/800505/800608/...

Tags: BlackBerry Developers

Similar Questions

  • FieldChangeListener on a ButtonField displays a prompt with named Application Switch and full Menu options dialog box. instead of the action set.

    Hi I use a ButtonField in my class of the screen and adds a ChangeListener and provided the measures required in

    fieldChanged(Field field, int context)
    

    method. But everytime that I click on a button, a dialog box invites you to two play as Application Switch options and full Menu.


    I think that there is a method that must be overridden to avoid this problem. I get this result when I run my app in the device with OS 5.0, but it works fine on the Simulator (7.0).

    Use ButtonField.CONSUME_CLICK as a style.

    your override of navigationclick should also work, but you would raise the event changed yourself field before return true.

  • Remove the full Menu?

    Hello

    I have a listbox and when I click on any item in the list, it shows a menu called «Full Menu» I don't want this menu appears when you click the items in the list. How can I remove popup option "menu"?

    Please suggest.

    Thank you.

    I solved this problem with the following code:

    http://supportforums.BlackBerry.com/T5/Java-development/how-can-I-disable-the-default-ContextMenu/m-...

     protected void makeMenu( Menu menu, int instance ) {
            //will show the default menu
         //   super.makeMenu(menu, instance);
        }
         public boolean trackwheelClick( int status, int time )
        {
            return true;
        }
        public boolean trackwheelUnclick( int status, int time )
        {
            return true;
        }
        public boolean trackwheelRoll(int amount, int status, int time)
        {
            return true;
        }
    
  • How to stop pop-up screen 'See the keyboard, Switch Application, full Menu'?

    Hi all

    I always get this pop-up screen when switching from one screen to the other. I don't know what is the reason for the pop up screen and how to stop it. If you have encountered this problem before and know how to deal with it please give me help.

    The pop-up screen contains the following choices:

    Display the keyboard

    Switch application

    Full menu

    Thank you very much for your help!

    I found the solution to this problem here http://supportforums.blackberry.com/rim/board/message?board.id=java_dev&message.id=10933

  • How to replace the 'full' Menu Option and "close".

    Hi all

    I need to know how to replace the full menu option and the narrow, while I don't have a menu option in my class of the screen, and also I do not call superclass «super(DEFAULT_MENU |)» defult builders DEFAULT_CLOSE); »

    can someone give me some samples?

    Thank you very much

    Override the makeMenu() method in your form class and leave it empty.

  • How can I get the full menu on my forms editing interface?

    Hi people

    I have currently only get this menu on my editing of forms in British Colombia interface.

    Screen Shot 2016-02-26 at 10.27.49 am.png

    How do I you to the full menu - I think it should look like this: -.

    Screen Shot 2016-02-26 at 10.27.29 am.png

    Thank you Cathy

    Hi geoff123,

    The version of the edition that you see is the most recent interface

    If you have access to the high level, you can potentially change this by visiting

    http://yoursubdomain.BusinessCatalyst.com/AdminConsoleXT/betafeatures

    Uncheck the "New Admin Editor"

    However, I would probably stick with the more recent editor and get used to using it.

    Nathan

  • Hide a full menu with a click of the wheel

    Hello

    I have not created any menu in my application.

    I dynamically add a button to the screen using this code:

    ButtonField getDetailsButton = new ButtonField("See details", Field.FOCUSABLE | Field.FIELD_RIGHT);                        getDetailsButton.setChangeListener(new FieldChangeListener() {public void fieldChanged(Field field, int context) { ((CampaignManagementScreen)field.getScreen()).requestInfo("test");}});
    

    Problem is, when I click on a button by using the wheel, displays a context menu with a "menu" element Then, my action is executed normally. Don't you know that I can get rid of this menu?

    Thank you

    You must set the CONSUME_CLICK style in your buttonfield constructor.

  • navigationUnclickUnhandled seems to be "Full Menu" on my screen

    Simulator: 8330

    I see the text "Menu" at the bottom of the screen of my BB after I change the value of a field on the screen. This seems to happen because of a navigationUnclickUnhandled 'event '. I don't know how to avoid this unexpected behavior.

    btnCalculate.setChangeListener(new FieldChangeListener() {
    
      public void fieldChanged(Field field, int context) {      if (context != FieldChangeListener.PROGRAMMATIC) {            double mpg = calculateMpg(milesDriven.getText(), gallons.getText());          System.out.println("MPG: " + mpg);            String clipboardDate = (new SimpleDateFormat("MM/dd/yyyy")).formatLocal(entryDate.getDate());             float roundedMpg = (float)((int)(mpg*10000)) /(float)10000;           String outputText = vehicleChoice.toString() + ": " + clipboardDate + " " + roundedMpg;           Clipboard.getClipboard().put(outputText);         outputLine.setText(outputText);        } else {          System.out.println("System changed button");      }    }});
    

    Step into the debugger, the following occurs just before the menu "menu" is displayed at the bottom in the center of the screen:

    DataEntryScreen(Screen).navigationUnclickUnhandled(int, int) line: 3986
    

    If I comment outputLine.setText (outputText); statement, the unwanted invite does not appear. I don't know how to 'manage' the navigationUnclick.

    I want to display the results of the calculation to the screen, but if there is a better way to do it, I'm open to suggestions!

    He solved.

    Set the button calculate as follows

     ButtonField btnCalculate = new ButtonField("Calculate", ButtonField.CONSUME_CLICK+ButtonField.FIELD_HCENTER);
    
  • I can't have the full menu of folders with 34.0.

    After that put Firefox updated to 34.0, when I bookmark on a page, I can drag is more my entire list of files to save a new one in the right place. This option is no longer available? The few that are on the list now are usually not what I'm looking for.

    I just thought of it. Never mind.

  • New FF 32.0.2 break from one day to the next. Full disclosure - Cookie Clicker

    I use FF for many things, often many tabs, etc. I picked up clicker cookie a month or two ago. I always left CC running from one day to the next day without any problem until FF update to version 32.0.2 and now I'm back in the morning to find that it is broken down.

    More recent reports of incidents:

    BP-977c17bd-f1fe-4A8A-98e3-773682140919 19/09/14 07:21
    BP-256c08cf-0725-4200-bA1a-fe2b62140918 18/09/14 07:55

    I use very little add on, same theme, that I had for many years, nothing has changed other than the version of FF I know.

    Any help is appreciated!

    Full Disclaimer: Yes, I know that the perils of the performance of my computer all night. Since I always did before upgrading the version of FF, I fear that this time with which these accidents started after this upgrade. Thank you!!!

    Next steps that I took:

    1 recorded progress, tab reloaded.
    2. right click on the page and go to "display information page.
    2.a. Under support, scrolls to find ads (usually flash .swf) and blocked images from these sites.
    2.b. 1 - 2A to repeat several times
    2.c. According to the news page-> permissions, blocked Adobe Flash for just this site.

    The performance so far is upward. We'll see how he holds up the night.

  • How can I get a new window open, but slowly opened to full size after clicking on a main page link

    Transitions I mean are on this site. Discoloration in the window and click on the picture, which opens a new window, but slowly to full size.  http://ra1830.wix.com/qgd2012

    Thank you.

    The site you quoted uses a plug-in similar to "Lightbox". You can get it here: http://www.lokeshdhakar.com/projects/lightbox2/

  • I customized my Firefox mode full screen by clicking on the option full screen. Now I do not get it back to normal even after restart of firefox and even restart my system. How can I get that back in normal view? Thank you!

    could not return to the normal display mode display mode full screen...

    Try to hit F11

  • Context menu when I click on a button.

    Hello

    I have a class that extends the screen and I crushed MakeMenu() I want to create a custom menu when I press "menu".

    My problem is that when I click on a button on the screen of my program is all what need then after all that it displays a context menu with options {Application Switch |} My menu | Full menu}

    This is my replacement of makeMenu(). Note: If I remove my call menu.add is solved the problem. But obviously I need the item in the full menu and no popup.

    Thanks in advance

    public void makeMenu(Menu menu, int instance) {
        super.makeMenu(menu, instance);
        menu.add(new MenuItem(new StringProvider("Settings"), 110, 10) {
            public void run() {
                SettingsHome setScr = new SettingsHome();
                UiApplication.getUiApplication().pushScreen(setScr);
            }
        });
    }
    

    You don't have to set these fields.

    The operating system takes care of it:

    public void makeMenu(Menu menu, int instance) {
        super.makeMenu(menu, instance);if(instance == Menu.INSTANCE_DEFAULT){ menu.add(new MenuItem(new StringProvider("Settings"), 110, 10) {
            public void run() {
                SettingsHome setScr = new SettingsHome();
                UiApplication.getUiApplication().pushScreen(setScr);
            }
        });
    }}
    

    E.

  • How to prevent the menu instance when click a button?

    Hi all

    My screen has added a button and I put in place for processing when the user clicks on this button.

    When I click on this button, my treatment of click event code has will work perfectly. But after the click, a menu always occur an inconvenience to the user. This menu contains the elements 'Application Switch' and «Full Menu»

    How to prevent this, thank you!

    use CONSUME_CLICK

    ButtonField sample = new ButtonField("Test",ButtonField.CONSUME_CLICK);
    
  • Context menu prevent from appearing when you click on?

    I get the context? menu (the one with the full Menu and options Show/Hide keyboard) when I press (touch screen) or click on a field in a listechamps.  I don't know why.

    I extended ListField as follows:

    public class TableField extends ListField {
        TableFieldCallback callback;
        public void setTableCallback(TableFieldCallback callback) {
            this.callback = callback;
        }
        protected boolean trackwheelClick(int status,int time) {
            App.DEBUG("CLICK START " + time);
            if (null != callback) callback.onclick(this.getSelectedIndex());
            App.DEBUG("CLICK CONSUMED");
            return true;
        }
    }
    

    The domain manager that contains this field implements TableFieldCallback and sets the callback object.

    The scope of the list does not contain child field, rather than the 'data' are set for each field.

    I press list (click on) a field (line) in the field and trackwheeClick() is called calls my onclick() method in my object and is processed (it loads another opinion), but the context menu is displayed, even if I returned true from trackwheelClick() of signs that I have consumed the event.

    This behavior is unacceptable, I need a way to be able to disable the context menu when you click on the field ofc.

    Note: the full menu appears sometimes, but I guess that's because I also accidentally click / tap the full menu option in the context menu that... maybe its because the context menu Gets the event of publication in the press / click don't know.

    Hey to return true on nothandled touch clear also

    and for the contact not returning true not managed navigationClick should do the job.

Maybe you are looking for