How to prevent the context menu?

I have a view of the image that has a context menu that are associated with, and I have a slider that is in addition to that view.

When I set the cursor, if my finger is placed on a spot for a while, the context menu of the display of the image is raised.

It is very undesirable.  Is there a way to prevent the opening if the cursor is in interaction with the context menu of the image?

You can interrupt the opening from the popup menu.

Here is an example of my code, replace 'condition' by your own condition:

contextMenuHandler: ContextMenuHandler {
     onPopulating: {
        if (condition) {
           event.abort();
         }
      }
}

Tags: BlackBerry Developers

Similar Questions

  • How to customize the context menu in the legend of plotting the graph of wave?

    I am currently on the creation of a simulation of various control loops as educational objectives. Here, I have a chart in waveform to different signals. Now my question, how to customize the context menu in the track of the Waveform graph legend => when I click on 'image' behind the Plotnames one menu to open options where you can customize the color etc. or plotwidth. But students should not have access to these settings. How can I change or disable this menu? The context menu for the waveform graph, I've already customized by right click on table of waveform-Advanced online-online menu, but for the legend of conspiracy, I have not found this setting...

    Thanks for your answers... I tried different things, but I don't see a solution yet :-(

    See you soon

    DCP

    Hi, STC,

    There have been a number of suggestions for change or disable the table , right-click menu, but I see that this does not affect the context menu of legend , which is what you ask for help with.

    To prevent completely the menu right-click to work, you must disable the chart control entirely. You can do this by double-clicking on the chart and select Advanced Options > active state > disabled. This will prevent the operator to be able to generate a menu right click on the chart control.

    If however you still wanted the table, make a right click menu to work, but the legend made a right-click menu will be disabled, I see two options:

    1. draw a classic decoration square on the legend and the transparent color. This will prevent the mouse clicks to achieve the legend, and transparent it will not interfere with your user interface appearance.

    2 use a Structure of the event to capture the event filter Popup Menu of Activation?  for the chart control. You can then use the Coords property to determine if the mouse is over the legend or not. If this is the case, send faithful away? right Terminal. It will refuse the context menu when the user clicks on the legend of the plot.

  • How to use the context menu of the 10 Blackberry in my app using Air

    Hey please help me

    How do I use the native bb 10 context menu, I got contextmenuevent class to access the events, but I don't know how to add the context menu as long press on any image.

    Is there a documentation or extract is available?

    There are several threads on this and can be found from the search field. Here is the one who can answer your question:

    http://supportforums.BlackBerry.com/T5/Adobe-AIR-development/BB10-adding-context-menu-to-list/TD-p/1...

  • How to hide the context menu of a graph?

    Hi all

    I am wondering how or if I could hide the context menu for a table or chart?

    On the attached screenshot menu I want to hide.

    Or is there another possibility to let the user, just edit the balance there and NOT let it activate autoscale?

    You can modify and/or disable the 'Runtime Menu':

  • How to test the context menu bbui.js in ripple?

    IM using bbui.js v0.9.4 and ripple v0.9.10. How to test the context to the ripple manu? When I run the app on DevAlpha long press peek list context menu img, but how to do this in ripple?

    I managed to understand. You must click and hold on the edge/edge of the list of img to get the img to peep context menu. By clicking on the list of img don't peep the context menu.

  • How to create the context menu PlayBook under WebWorks

    I searched for hours and I can't find any guidance on how to create a context menu for an application PlayBook WebWorks. I refer the menu which is supposed to appear when you drag to the bottom of the top. I tried to use logical blackberry.ui.menu, but it seems that the functionality of the user interface is not yet available for the PlayBook.

    BlackBerry World, they stressed that it is an important aspect of any application PlayBook so there must be a way to do it. Can someone give me a little push in the right direction?

    -Thanks!

    If you referring to the menu that goes down when a user slips to the bottom of the upper part of the PlayBook, please see this for an example application.

    http://supportforums.BlackBerry.com/T5/Web-and-WebWorks-development/sample-code-swipe-down-menu-for-...

  • How to open the context menu programmatically?

    I'm sure I'm missing something very elementary, but my eyes are listening on after a lot of research.

    I have a set ListField implemented that replaces getContextMenu() and creates a custom context menu.

    I also override trackwheelClick() to intercept clicks when it's to the point. I would like a click wheel to simply open the context menu, but I can't understand how to simulate pressing the menu button.

    Thank you!

    crush makeMenu instead, you can only manage a better

  • How to remove the context menu buttons?

    Hello

    I have a pretty annoying problem. I have installed GNU Emacs and Emacs W32 some time ago, but spent to vim. However, in the menu context (context menu) for any file text (.txt, .c or .java) it is always an option called "Edit with Emacs." Now, obviously I no longer use Emacs and uninstalled several months ago. However, I can't get rid of this option in the registry. When I click on it now it opens the 'Open with' instead.
    Anyone know how to remove this option from the context menu?
    Thank you!

    Take a look at the app ShellMenuView. See http://www.techspot.com/guides/210-edit-windows-extended-context-menu/ for instructions and download.

  • How to display the context menu on MAF google map?

    Hi all

    How to show the popup on the google map of the MAF like this? I have a collection of data would appear on the map of google map MAF, but when I click on the screen, I find the popup seems just on the Middle not the style shows as below.

    So I want to know if there is a way to identify the points on the map as the model below. Could you give me some suggestions? Thanks in advance.

    Screen Shot 2014-12-30 at 1.37.23 PM.png

    Byron

    This is supported only from MAF version 2.0.1

    You can use showpopupbehavior within a marker like this:

    shortDesc = "#{row.cityName} '"

    rendering = "true" >

    popupId = "popup1."

    alignId = "marker1 '.

    align = 'topCenter.

    decoration = "anchor" / >

    You can change line property based on your condition.

    In addition, you may need to add the setPropertyListener inside marker as well as to show the current name of the city from the context menu:

    to = "#{pageFlowScope.currentCity} '"

    type = 'action' / >

    Kind regards

    Deepak

  • How to display the context menu using javascript in application of apex

    Hi all

    y at - it someone who has set up a context menu using javascript in its request for apex. We may be able to open other pages I need when clicking on items in the context menu.

    Please answer as soon as possible. I will be very grateful to you all.

    Published by: user12259335 on November 23, 2009 01:18

    Hello
    Sorry, you are right, I don't send you all the :), but I have a request - could you just give me your email address to send you the code.
    Tahnks

  • How to fix the context menu on the screen?

    So, I wanted to add a shortcut to the page menu when I press a button.

    I'm following the example of code here Context Menu

    // Create the Container and ActionSet
    Container* contextContainer = new Container();
    ActionSet* actionSet = ActionSet::create()
            .title("Context menu")
            .subtitle("Select an action.");
    
    // Create the ActionItem objects and add them to the ActionSet
    ActionItem* action1 = ActionItem::create()
            .title("First action");
    ActionItem* action2 = ActionItem::create()
            .title("Second action");
    ActionItem* action3 = ActionItem::create()
            .title("Third action");
    actionSet->add(action1);
    actionSet->add(action2);
    actionSet->add(action3);
    
    // Add the ActionSet to the Container
    contextContainer->addActionSet(actionSet);
    

    So how can I actually say that it displays the menu?

    Thank you.  just thinking about it.  wish all first as there are examples.  Arrgg

  • How to display the context menu declared in amx page by programming on click of a button

    Hi team,

    We ask a service when the button is clicked. If the service fails, we must show that the Popup is declared in the page of Amx. Please let us know how we can achieve this programmatically.

    Concerning

    Shaik Bachir Shafi

    https://pinboard.in/search/u:OracleADF? query = MAF + popup

  • How to display the context menu on flex UI,

    Hello

    Is vmware a substitute right click for application event.

    In our plugin, on what we want to show the contextual right click menu. Is their anyway to do.

    Thanx

    This is possible in Internet Client SDK 5.5 (to be published soon) where we have added the AdvancedMouseEvent API for this.

  • Open no longer appears in the context menu

    I'm under WinXPSP3.  My main administrator account has 'open' at the top of the context menu for applications and shortcuts.  However, other accounts have 'Run As.... "as the only option ('Open' is nowhere in the context menu).  I have DEP off, but it seems to make no difference, given that the "Run As" dialog box... "appears whenever an application or a shortcut is executed.  Any ideas how to get the context menu item 'open' to reappear and to get it so that the action by default when double click on an icon or select an icon in the menu programs?  Thank you.

    Try the steps of
    http://www.TomsHardware.com/Forum/19967-45-open-with-missing-click-Windows

  • Impossible to remove an application from the context menu

    \

    64-bit Windows 8

    Cannot delete an application (Magic ISO) from the context menu, even if the Application is to uninstall programs
    How to remove the context menu?

    Try these tools:
    http://www.NirSoft.NET/utils/shexview.html
    and
    http://www.NirSoft.NET/utils/shell_menu_view.html

Maybe you are looking for