Click on MenuItem and consume

is it possible to consume a click from a menu item?

I use ListField to view the records that can be edited by clicking on a particular record, which displays an edit form. The problem arises when I want to extract fresh data from a webservice and redisplay the ListField, the user clicks on a menu item that initiates a Web service extraction, but the edit form click event triggers, which isn't what I want.

So I would like to know if there is a way to consume a click from a menu item?

Thank you

Steve

I managed to solve this problem by killing the FieldChangerLister then re-enabling it after the clicked menu on... Here is the code:

_filterByPriority private MenuItem = new MenuItem ("priority", 100, 3)
{
       
public void run()
{
FCL FieldChangeListener = customObjListField.getChangeListener ();
customObjListField.setChangeListener (null);
customObjListField.refresh (tableRows);
customObjListField.setChangeListener (fcl);
}
};

Thank you Simon for putting me on the right track,

Steve

Tags: BlackBerry Developers

Similar Questions

  • Where are the options of the trackpad in Sierra OS?  In El Capitan the trackpad there NO light tap (ENTER) and just one click HARD (ENTER) and could move the cursor.

    Where are the options of the trackpad in Sierra OS? In El Capitan the trackpad there NO light tap (ENTER) and just one click HARD (ENTER) and could move the cursor.

    System Preferences > Trackpad!

  • Trying to update my video player, I clicked on 'file' and then download it and I got was a full window of the computer language without option "run".

    Trying to update my video player, I clicked on 'file' and then download it and I got was a full window of the computer language without option "run".

    To jscher2000 ~ I did what you said and it says "Media player could not be verified for use in Firefox. Proceed with caution. My husband told me to just delete, so I think I'll do it. Thanks for your help! Nice day.

  • When I transfer mail, if I click a recipient and hit return, the name of the recipient is replaced by another name in the address book.

    When I transfer the mail on ICC, if I click a recipient and hit back, the recipient's name is replaced by a different name in the address book.

    It's bug and the bug fixers are working on it as soon as possible.

    The error only occurs if you use the key "TAB" or "Enter".
    So if you physically use the mouse to select recipients, and then click on in the other field, etc. - do not use TAB or Enter, then the fault does not occur.
    As an alternative, I highly recommend that you use the following method in the selection of contacts in new e-mail messages or in the transmission of emails.

    In a new message of Scripture
    Use the "Contacts sidebar". See the image below.
    If you do not see, then activate.
    'View' > "Contacts Sidebar" or toggle the view using the f9 key
    Select the address book
    Select the contacts
    Click on the button 'TO Addto' or one of the other options.

  • When I click on edit and then click on find that nothing happens

    I use firefox 25 in windows 7. Recently, perhaps since the last update, when I click on 'Edit' and then click 'Search', nothing happens, or does it work ctrl + 'f '...

    How does the search bar Firefox changed 25. Now, instead of being a global bar that appears at the bottom of each tab you opened, it appears in the active tab. When you change tabs, you will only see here.

    If you use the extensions focus on the search bar, it is possible that there is a conflict with this change. Could you try to update the extensions and see if that helps?

    To open the page modules, either:

    • CTRL + SHIFT + a
    • Firefox orange (or the Tools menu) button > Add ons

    In the left column, click Extensions. Then click on the "gear" button and use the check for updates. You may need to restart Firefox by using the link provided if there are updates.

    Any difference? If no, and you have a few extensions focus on the search bar, try disabling the and restart again if necessary.

    Any difference?

  • I left several tabs that Firefox sent the warning prompt. As I click on save and leave I pressed accidentally the "save these settings. Now I'm just wondering, how do I disable it, so that Fireox sends the prompt whenever I try to close multiple tabs?

    This may sound silly, but once when I was about to leave Firefox, I got the warning prompt if I wanted to close many tabs... As I click on save and leave I pressed accidentally the "save these settings. Now I'm just wondering, how do I disable it, so that Fireox sends the prompt whenever I try to close multiple tabs? I'm under 3.6.6 with OS X Snow Leopard.

    You can reset the preferences to warn on the topic: config page via the context menu.
    browser.tabs.warnOnClose, see http://kb.mozillazine.org/About%3Aconfig_entries
    browser.warnOnQuit, see http://kb.mozillazine.org/browser.warnOnQuit
    browser.warnOnRestart, see http://kb.mozillazine.org/browser.warnOnRestart

    To open the topic: config page, type Subject: config in the address bar (address) and press the Enter key, as you type the url of a Web site to open a Web site.
    If you see a warning then you can confirm that you want to access this page.

    In Firefox 3, you don't get the dialog "Save and exit" pop - up if you choose Firefox > Preferences > General > startup: "When Firefox starts": "show my windows and tabs from last time '.
    Get the dialog "Save and exit" pop - up, to select one of the other options (display my home page, display a blank page).

  • Hi, I do not know where to turn: the person who takes care of all the stuff of count is out of town, this friend started Firefox and there was a message about an update, I thoght I again just click on install and wait to re start Firefox. But what I remem

    Hi, I do not know where to turn: the person who takes care of all the stuff of count is out of town, this friend started Firefox and there was a message about an update, I thoght I again just click on install and wait to re start Firefox. But what I remember is this another open window and asked me to choose 'something' (an icon or banner or?), I thought I have to click on an element (I guess I should read all clearly). Firefox updated to 3.6.4, but it also inserted some sort of what might be called a banner? But it does cover only partially the half right of my 3 toolbars at the top of the Firefox window. It cannot be used to something else because it's just a mess of colors and unknowns, except for what looks like a 'top' and what I recognize as an icon of Firefox (but only partially visible)! Now, what he does, it's partly hide this part all the toolbars and they are difficult to read and to do to turn this 'thing' impossible to understand, if I keep to? I can't find in any case to remove it or use it? But since the icon of Firefox is about it, I think you need to know what it is and how trash. I'm sorry for this accident caused my my inattention, but I'm not much of a computer person - HELP! Thanks for any help. Judi

    This has happened

    Each time Firefox opened

    Today is Thrsday June 24, 2010

    The only thing I can imagine: it's a character.

    Tools-> Add-ons-> Themes
    Here should be the character (light theme)
    and a button 'delete '.

    Click on it (delete button), and he (Persona, this mixture of colors) should disappear instantly.

    This help you?

  • right click on "Devices and Interfaces" does nothing

    Hey all,.

    I am trying to add a raw TCP VISA OR max socket.  When I right click on "Devices and Interfaces", the line is highlighted and any drop-down list appears, much like a left click.  However, when I right click on 'Software', the drop-down list appears.  I have all the software AND up-to-date. Is there additional software, that I should add (I NI-VISA 5.4 as well as the watering duration) visa?

    Thank you

    Matt

    I think I know what is happening.  It seems that you have just the duration of OR-installed VISA, but not the NI-VISA full supports, which includes additional support of MAX configuration.

    With the new version of MAX 5.5, devices will appear with the help of configuration limited when you have only the version of the installed driver running as opposed to in the past when nothing arise.

    Here is a link to the full installer 5.4 NI-VISA - http://joule.ni.com/nidu/cds/view/p/id/4230/lang/en

  • After removing system Antivirus care of my PC, I got an error message in function recycle something w / drive c. I clicked on OK and nothing of what is removed now appears in the Recycle Bin.

    After all functionss suggested or recommended to rid the SCA, I got an error messge something on recycling function was not in the c drive and I clicked OK. Now, when the Recycle Bin is opened after deleting without elements appear. Is there a correction/fix for this?

    Moved from feedback

    Original title: after having rid SCA from my PC I hade an error message in the function recycle something w / drive c. I clicked on OK and nothing of what is removed now appears in the Recycle Bin. This can be corrected?

    I'll have to check your other thread, but,.

    1. a single antivirus can be installed and running in real-time

    2. you can run malware and spyware like on DEMAND scanners only

    3. If you install MSE, all previous installed antivirus must be completely removed before installing mse

    4. Please read this checklist:

    http://experts.Windows.com/w/experts_wiki/89.aspx

    MSE installation checklist

  • A blank window appears when I click on help and Support.

    Original title: help and support the problem

    I have vista Home premium, when I click on help and support, the window comes up empty, when I do a search it is said, not found in the help topic, this content under construction, we were able to recover the requested topic, how can I get the help to work again window?

    Hi jak509,

    In addition, you can check if this article helps.

  • SE error message "Windows Explorer has stopped working" when you click on network and sharing Center

    Original title: Windows Explorer has stopped working when I click on network and sharing and also...

    Hello technical savvy people!

    Windows Explorer stops working when I click on network and sharing, and also when I click on system.

    -Otherwise, I rarely get this little automatic.
    But when I do she translates these windows endangered; and then I can't find my connection to the local network, or my IP address,
    nor know how my system!

    Can you suggest healings?
    Thank you for your attention,
    marlem388

    Hello

    Were there any changes (hardware or software) to the computer before the show?

    Perform the steps from the link below and see if it helps.

    Error: Windows Explorer has stopped working

    Hope this information helps.

  • When you try to click on programs and features, updates of Windows or default programs, get error "Windows Explorer has stopped working"

    I have problems with the programs and features, windows update, and default programs. An error pops up - indicating windows Explorer has stopped working or windows Explorer restarts. Each window then closes. Can youhelp identify me what is happening?

    * original title - when I click on programs and features, update windows, said default programs windows Explorer has stopped working? Or reboot, then this window stops? What is going on? *

    Hi Mr. Minister,

    Your question is still there while in Safe Mode? If so, you try to run a SFC scan for troubleshooting the corrupted system files on your PC.

    To perform a scan of the SFC, follow the steps on the following link: How to use the tool File Checker system to troubleshoot missing or corrupted system files on Windows Vista or Windows 7

    Your computer may also be infected and needs to be cleaned in order to work properly. I suggest that you try the steps listed in the related post below with your question:

    http://social.answers.Microsoft.com/forums/en-us/InternetExplorer/thread/f26f7291-d646-4870-864e-a31976df0011

    You can also try a clean boot troubleshooting method to see if it helps you solve your problem.

    I hope this helps.
  • Defender of widows is off had to be click on manually and do not know

    original title: defender of widows

    Defender of widows is off had to be click on manually and don't know how already triad automatically and is frozen please help.

    Defender of widows is off had to be click on manually and don't know how already triad automatically and is frozen please help.

    If you have the following AV, antivirus, programs installed, close your Windows Defender. Purpose of these AVs have their own advocates. 2 defenders on the same machine will create conflicts.
    Bottom line: it's ok. It's normal.
    List of AVs which will stop Windows Defender:

    Norton
    McAfee
    AVG
    Microsoft Security Essentials

    If the above does not apply to you, use this method to restart Windows Defender:

    Start button > in the search box, type Services > press the Enter key > scroll to find Windows Defender, click on it >...
    topic status , it must be said... Has begun
    under Startup Type, it must be said... Automatic
    If it does not say that, right click on Windows Defender > click Properties >
    in Startup Type, click on the pointer to the right and select automatic
    to the service status, click Start
    Click OK when finished.

    For the benefits of others looking for answers, please mark as answer suggestion if it solves your problem.

  • In an earlier version of windows, there was a file, you can click on that and it will tell you the recent history of the files by the doc, etc.

    original title: history of Windows

    In an earlier version of windows, there was a file, you can click on that and it will tell you the recent history of files, by doc, etc. that have been read on your computer. Does anyone know if the window Vista had a folder\file that you can click on show the most recent programs, files, doc, etc. to which it acceded on your computer?  Thanks in advance!

    You can see in the start menu, but if it of NOT there right click on menu start-> go to temptation and check the option to retrieve.

  • If I click on Favorites and then scroll through the list of favorites, it does not show the entries in each file.

    * Original title: to access Favorites

    If I click on Favorites and then scroll through the list of favorites, it does not show the entries in each file but suddenly close showing the list of favorites. . I use Chrome and it happened all of a sudden. It was functional this morning. All the advice to fix this will be greatly appreciated

    Have you tried the Chrome forum? https://productforums.google.com/forum/#! forum/chrome

Maybe you are looking for

  • lost bookmarks save the file seems to be emty

    something happened with the money of kaspersky security enter a safe mode on online bankingdisabled Kaspersky and restarted the computer, but made firefox as first down loaded without my favoritesSo will form but nothing seems to work is there someth

  • Satellite A200-1AX: very grainy videos after Win 7 installation

    Hello. I have a toshiba Satellite A200-1ax and uses it for Vista when I got it.I've got rid of the operating system and to install XP, thous install BIOS update for XP.I recently installed Win7 and everything is good. The only problem I have is with

  • INSPIRON N5110 require drivers for WINDOWS XP

    Hi all... I installed windows XP on my Inspiron N5110.  Because my business run only on Windows XP or 98 software... So please I need all the driver for N5110. Such as video, Audio, Wifi, Lan and all the others. Then please help me where from I can d

  • Waiting for Messages from blackBerry Smartphones, but now a witness flashing

    I have the 8330 model.  It's something that I just started to notice.  I might e-mail or a SMS in my mailbox on the handset but the red LED does not blink or I could see it flashing but not able to get him right this second and when I go to check wha

  • BlackBerry Smartphone WiFi hotspot connection does not

    On a car PC, I set up a hotspot for mobile devices - any device can connect to WiFi it provides and use it to access the sites. However, one of our customers told us that he cannot use it with Blackberry. Feature, we need is the site access, no need