ButtonField who works for normal click and also occurs a different action with a key down and click on

I have a bunch of buttons on my main screen. They currently do something when you click on it. I want to make them do something different when ALT-clicked. I built them as:

ButtonField mycoolbuttonname = new ButtonField("Awesome",ButtonField.CONSUME_CLICK);

Then I assigns each a ChangeListener which then redirects this specific to a specific code listener.

How can I run an ALT + click on a different code of FieldChangeListener?

I think somehow with: KeyDown API

I have several buttons on a screen. All work now with: 1. click on Trackpad 2. Touch-click 3. Enter-click

I want each button to be able to do two things:

1. a thing with an ALT-activate(by any of the three ways as seen above)

2. a normal else activate (by one of three ways as seen above)

Dominant Navigation click would not however to ALT-Enter and Alt-Touch(The way I want it is that these two do #1 from above too). Correct or not?

In the simplest possible terms:

Each button will make a specific thing turn on and another thing different specific on ALT-putting into service.

Right now, they work absolutely fine to do a thing. But I'll try to find a way to make them also to do something else on ALT-putting into service.

I think if I can somehow make a way to get the true/false if ALT is pressed during a change of field and then do an if/then based on this information in each fieldChanged method so I should be good.

Update: well, I got the errors go away with your code above. At least press Alt-Trackpad works. I'm going with it. Thank you!

Tags: BlackBerry Developers

Similar Questions

  • When I try to install flash player on my mac, I get to the Panel who asked for my name and my password, and it will not take my password.  tried to change to a new password and the same result

    When I try to install flash player on my Mac, I get to the Panel who asked for my name and my password, but it won't take my password.  Tried to change the password, but same result.  Suggestions?

    This password is presented by your operating system and is designed to prevent you from accidentally installing the software.

    If it comes to your personal computer and you don't need a password to connect to the computer when it first starts, you can probably leave the password blank and click OK to go to this prompt.  If it comes to your personal computer and your normal password does not work, make sure that CAPS LOCK SHIFT is off, and then type the password carefully.

    If this is your work machine and he asks an administrator password, well, you will need to have a conversation with your computer friendly.

  • Pavilion a6530f: what video card installed works for Windows 10 and a 300W power supply?

    I have a6530f a desktop Pavilion PC.  I am currently running Windows 7 and am interested in upgrading to Windows 10.  I get and error message when you try to install the W10.  "NVIDIA GeForce 6150SE nForce 430".  I think I need to improve my video card.  Can what video card I install that will work for Windows 10 and is rated for the power supply 300W in my lap?  I'm not very techie.

    Many of these inexpensive graphics cards for Newegg.com should work with Windows 10. Just watch for those who require a 300 watt power supply system or less.

    Drivers for these cards may be on the page drivers GeForcefunds. Simply select the card in the drop-down list or use the "Auto-Detect".

    If you have any other questions, feel free to ask.

    Please click the White Star of KUDOS to show your appreciation

  • How is it, my original keyboard does not work on my desktop, but works on my laptop? And my keyboard works for both laptop and desktop?

    Hello

    I have a desktop computer Windows 7 Home Premium 64-bit with an ASUS M4A87TD EVO motherboard. Recently, I have a problem with my Wired Saitek Eclipse PZ30AU keyboard: when I type, the typical button does not appear on the screen. In other words, the keys are unresponsive. The keyboard is turned on, if the office is enabled/disabled. Even if, at the time, while he was working, the light is always disabled whenever the office is off. I don't know why it is informed, even if the office is off.

    My wired mouse usb works fine. I even tried my USB adapter for wireless network in two USB ports, and I still have the signal, so I guess it works very well too. The on-screen keyboard works.
    However, I tried to connect the keyboard desktop on my laptop and for some reason, what works. I also tried to use a different keyboard on my desk, and it actually works.
    I downloaded the chipset, the driver M4A87TD EVO BIOS 2001 driver and a driver of NEC Electronics Corporation USB 3.0 controller. But first, I had to install the Akamai NetSession Interface. After that I downloaded all three files, I installed the chipset driver and USB driver in uncompressing them, by clicking on each file, by clicking on Setup. For some reason, the BIO 2001 pilot had only a ROM file, so I just deleted total. After installing and restarting the computer, the keyboard does not.
    I want to emphasize that, before even manually, download the drivers, I tried using WIndows Update to install all important and recommended updates. After the computer restarts, the guarded keyboard lights flashing on and outside.
    So, I ask two things:
    1.) how does my original keyboard does not work on my desktop, but works on my laptop? And my keyboard works for both laptop and desktop?
    2.) can I keep I have installed the drivers or uninstall them?
    Thank you.
     
    Original title: keyboard problem

    Hello

    This problem can occur because of incorrect keyboard layout settings.

    Please follow the instructions from the link and check that it works very well.

    Check out the link:

    Mouse, touchpad and keyboard with Windows problems

    http://Windows.Microsoft.com/en-us/Windows/help/Mouse-touchpad-keyboard-problems-in-Windows#V1H=tab05

    For all windows questions do not hesitate to contact us and we will be happy to help you.

  • AirPrint is not working since 9.3.1 what airprint update - not found.  tried the suggestion of JimHdk, who worked for a single document. any suggestions

    AirPrint is not working since 9.3.1 what airprint update - not found.  tried the suggestion of JimHdk, who worked for a single document. any suggestions

    Since we do not know what may have suggested to Jim, power cycle your router and the printer and force restart the iPad. Unplug the router and the printer power for 30 seconds. Plug in the router first and let it restart. And then reconnect the printer power supply. Then force restart the iPad. To force the reboot your device, press and hold the two buttons of sleep/wake and home for at least ten seconds, until you see the Apple logo.

  • Fingerprint utility doesn't work for normal users - Tecra M11

    Hi all

    I installed windows 7 pro laptop Tecra M11 and the Toshiba finger print utility does not work for normal users.
    This works only for domain administrators. The TFPU is not working is not for users in the normal domain, local users, local administrators. If we run the utility, it will ask you to enter the password of windows, and once we have applied the password, then the message saying 'entered password is not valid' will invite even if we try to use the utility first.

    If we try with a domain administrator account, it will work without any problem. Can someone help me just shoot this question?
    Thank you.

    How many people and how many accounts should work on this laptop?

    To be honest I don t know what do you mean under normal users
    Install OS and create user account/accounts, define the utility of fingerprints and let us know if it works properly.

  • Is there an online community which deals with promotion within the Fed/DoD IT apple? Currently, I work for the NAVY and a nightmare HP NMCI. Thank you.

    It was more of a general question asking management and online community eventually the federal and/or DoD workers who might be unhappy with the current situation of technology of the federal workforce and so therefore could discuss, share and work information to try to improve this situation. Thank you.

    edhazelwood wrote:

    It was more of a general question asking management and online community eventually the federal and/or DoD workers who might be unhappy with the current situation of technology of the federal workforce and so therefore could discuss, share and work information to try to improve this situation. Thank you.

    «I currently work for the NAVY and a nightmare HP NMCI.»

    If you are now looking for a Mac NMCI nightmare? Evolution towards a Mac environment will do nothing to improve the NMCI environment.

    Why don't do you a Google search or speak to your personal COMPUTING support to discuss your NMCI questions? These forums are to help users of the Apple/Mac product with Apple/Mac product questions.

  • How can I create a site of AIF who works for mobile clients instead of use available phone of muse

    How can I create a layout of alternative office who works for mobile clients instead of use available phone of muse. Available phone simply doesn't work very well for me and my office layout works great on mobile devices with the exception of a few aesthetic problems. It would be much faster for me to fix these problems, he would to create a brand new mobile site.

    Thank you for your help

    Is there no created phone available in the same site then telephones will load office layout by default, so you don't have to create an office layout separately for the mobile version.

    If I'm missing something here, please let me know.

    Thank you

    Sanjit

  • Which phones Blackberry works for other phones and operating systems when creating themes? (Please read)

    I build themes and I want to support all devices.  I know that if I build a theme on a device and

    Operating system that will work for other devices and operating systems.

    Can someone tell me what base unit will be other devices?

    example: Bold 9700 will work with the Bold 9650, 9000 "BOLD" and so on (it was just an example and probably inaccurate)

    Thank you for your help in advance

    Hello

    Just a quick note... 9700 themes work with 5.0 screen 480 x 360 OS (89xx, 96xx) dimension and visa versa 96xx and 89xx 5.0 OS themes will work on the 9700

    85xx theme OS 5.0 works on 83xx 5.0 OS visa versa 83xx 5.0 OS themes will work on the 85xx with an OS 5.0 but remember the layout of the 83xx series is very different the 85xx, such as dialogs etc... If the theme of predict a 83xx look like funny on the 85xx, which means that the old layout

    Storm 1 themes 5.0 OS will work on the Storm 2 and visa versa as it is exported OS 5.0

    And it's just like all the other models have screen sizes different etc. such as the Pearl, the torch and the Flip

    I hope this has helped!

  • Hi, I downloaded CC on my laptop yet CC serial number doesn't work for my office and says it's a counterfeit disc?

    Hi, I downloaded CC on my laptop yet CC serial number doesn't work for my office and says it's a counterfeit disc?

    Pippa,

    Please see this link for help:

    True verification download or installation failure produces creative suite 6

    Guinot

  • How can I transform my ipad app within an app that works for the iPad and iPhone?

    I built an ipad with the DPS application. But now my client wants to have the same content on iphone. How can I transform my ipad app within an app that works for the iPad and iPhone?  Is this possible without creating a new application App Builder? Thanks for your replies.

    You must create a new instance of the DPS App Builder application. Select iPhone and iPad. If you use the same mobileprovision files (or mobile layout updated of the files of the bases on the same ID App), it is considered that a version update of the application itself.

    You will need create sheets separated for the iPhone. folios iPad do not appear in the library of iPhone. See Digital Publishing Suite help | Creating content DPS for iPhones.

  • My Cac card reader worked for a week and now the computer is not recoginize... told me that it is not connected?

    I installed the drivers and the correct software.  My computer has accepted the CAC card and it worked fine for about a week.  I tried to use today and the computer does not even recognize the card CAC reader was plugged.  I käpt asking me to ensure a card reader has been sonnected.  I tried to run a repair on the software, but that doesn't seem to help.  I rebooted the computer several times and even tried other card readers.  I could use some help.

    Hello

    1. what operating system do you use?

    2 did you change on your computer?

    3. did you check the card reader with another computer?

    4. you use external USB card reader or the card reader integrated?

    I suggest you to follow the steps and check

    Step 01:

    I suggest you follow the steps from the link below.

    a. click Start, click Control Panel.

    b. click on system and security.

    c. click System, click Device Manager in the left pane.

    d. click the adapter card reader device, right-click on the adapter.

    e. tab driver , click Uninstal.

    f. click ok when you are prompted.

    g. now, go back to Device Manager and click Scan for hardware drivers.

    It automatically detects the drivers.

    Note: If the drivers are not found, then I suggest you to download the new drivers from the manufacturer's website.

    Step 2:

    I recommend you to update the drivers and see if it makes a difference. You must be logged on as administrator to perform these steps.

    a. open the Device Manager by clicking the Start button, click on the Control Panel, clicking system and Maintenance, and then clicking Device Manager. If you are prompted for an administrator password or a confirmation, type the password or provide confirmation.

    (b) in Device Manager, look for the device and then double-click the device name.

    c. click on the driver tab, then click on set to update driver and follow the instructions.

    See also: hardware devices do not work or are not detected in Windows

    http://support.Microsoft.com/mats/hardware_device_problems/en-us

  • I want the cursor to be in the address bar when you create a new window; It works for new tabs and a new private window, but not in safe mode.

    I tried following the advice offered in the different threads bit I found on this but nothing works out. I want the cursor to be in the address bar when I open a new window or when firefox opens without restoring a previous session. I solved the problem for new tabs via subject: config, but it does not work for the new windows. I tried safe mode and the problem persists. In a new private window, the cursor is in the address bar.

    A new window opens the homepage (default: subject: House) and not the new tab page (default: subject: newtab).

    Some of the built-in pages set the focus to the search bar on the web page, just like the Google site only.

    You can use a bookmark in the bookmarks toolbar that opens the subject: blank page.
    If you hold down the SHIFT key when you click this bookmark, then you open a new widow with this page.
    Otherwise, you need to set the home page to about: blank or on the point: about to have easy access to all the pages.

  • Audio guide for streets & trips 2006 does not work for Vista. (Who worked for XP)

    Guide audio of streets & trips 2006 worked for xp.  new laptop w/vista.  does not work now.

    http://www.Microsoft.com/communities/newsgroups/en-us/default.aspx?DG=Microsoft.public.streets-trips

    Discussions in Streets and Trips

    In addition to the info below, try the Streests and travel above Newsgroup.

    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

    http://www.Microsoft.com/Windows/compatibility/Windows-Vista/default.aspx

    Windows Vista Compatibility Center

    First thing to do is to check its Vista compatibility at the link above, and if not to see what patches/solutions are available from its manufacturer...

    http://www.howtogeek.com/HOWTO/Windows-Vista/using-Windows-Vista-compatibility-mode/

    If this is not Vista compatible, read the info on the link above.
    It works for some programs, but not all.

    This applies to software programs, NOT hardware drivers.

    If it's Vista compatible > uninstall it > Re-download/save to your desktop > right click on setup.exe O run as admin.

    See you soon.

    Mick Murphy - Microsoft partner

  • AutoFill does not work for Firefox 4 and Microsoft Outlook

    AutoFill has already worked on Firefox 3.16 and Microsoft Outlook.
    Now I get a msg something like:
    "AutoFill does not work for this site" when I want to fill my info on a petition, etc..

    What "complete" you use in Firefox 4.0?

    Firefox is not a built-in function "fill", it has "full automatic" that would not display a message such as.

Maybe you are looking for

  • Hardware devices inoperable

    For my HP s3400t desktop computer, I use Norton 360 to run diagnostics often.  Finally, I paid attention to the report and wonder what to do with a large number of devices that are unusable or Code 10 (cannot start). They all look the same: 6T 04 ada

  • His bodyguard ruin on my laptop Alienware M14.

    I have an alienware laptop M14 and my sound keeps screwing, when im watching videos, I get this static sound ounces in a will. Had for less then a month too =) original title: Sound

  • BlackBerry Smartphones where to download social app feeds?

    I deleted the app RSS Social after installing the OS6 upgrade thinking I would not use it.  I would try it again, but can't find where to download the application.  I searched AppWorld and can't find it.  I've upgraded via OTA and when I plug in the

  • Windows 8 Activation

    How can I remove and arrest the instigation to activate Windows from my desktop screen?

  • List of Snapshots in a file

    Hi allI'm trying to create a script to list all snapshots of all virtual machines, particularly cluster (or Resource Pool) or to an Excel, or even html but with a good structure (such as fields, VM name, date Snapshot, Snapshot description, etc.).Wit