Click on the fire button automatically on touch screen devices

For touchscreen devices, I am facing a problem. There are 2 buttons on my screen "login" and "Cancel".

By default, there are foucs on the button "login". contact button user outside the logic (somewhere on the screen area) then 'enter' on fire event automatically.

How can we solve this problem... means that if the user key somewhere outside the box button connect button connect click event should not occur automatically?

Help, please

Thank you

Two possibilities I can think immediately, would not these, but that's where I'd first look:

(1) the touchEvent will lead the field with emphasis.  You need to reject, by adding the following code to your touchEvent()

int x = message.getX (1);
int y = message.getY (1);
If (x < 0="" ||="" y=""> < 0="" ||="" x=""> getExtent () .width: y > getExtent () .height) {}
Outside the scope
Returns false;
}

(2) you have overridden the layout of the processing Manager and it confuses as where fields are actually.  This happens frequently with people things inside a HorizontalFieldManager.  If you think it is, then create your own extension manager Manager, not HFM, and the problem will probably resolve itself.

Tags: BlackBerry Developers

Similar Questions

  • I a s 6 more and when using the phone, if my face touches the screen it clicks on the logout button and the phone hangs up the call. Is it possible to prevent this without holding the phone away from my face when calling?

    I a s 6 more and when using the phone, if my face touches the screen it clicks on the logout button and the phone hangs up the call. Is it possible to prevent this without holding the phone away from my face when calling?

    iPhones have a proximity sensor which is supposed to automatically turn off the screen when you hold it in your face. If this is not the case you can take the phone and have it checked.

  • Automatic filling instructions say click on the Firefox button &gt; Options, but this choice does not. where is he?

    UPDATE: following instructions provided by cor - el; they worked. Thank you! Interestingly, after doing that once, choose 'Options' became visible and remained so.

    Running Win7. Firefox instructions say:
    "Prevent Firefox from storing form entries.
    If you do not want Firefox to remember what you have entered in the form fields, you can turn off the automatic form fill feature:
    1. at the top of the Firefox window, click on the Firefox button, and then click Options. [* There is NO other CHOICE 'OPTIONS', so it's impossible and the process can take place as described.*]
    2. Select the Privacy panel.
    3. set Firefox will: to use the custom settings for history.
    4. remove the check mark from the box that says search and shape Remember history.
    5. click OK to close the Options window. .

    THE PROBLEM: in the order above, there is no choice 'Options', while the process can not be run as described.
    How should I complete the process?

    • Press F10, or press the Alt key to bring up the 'Menu Bar' temporarily if the menu bar is hidden.
    • Use "Firefox > Options" instead of "tools > Options" If the menu bar is hidden.
  • Whenever I have press and hold to my left click on the mouse button, it automatically highlights everything from this point to the top of the page

    Whenever I press and my left click without releasing, it atomically highlights everything from this point to the top of the page. Also, note if I'm now left click on the scroll bar, it goes back to the original location, even when I try to drag it upwards or downwards.

    Open internet Explorer and the problem does not occur there.

    Try Firefox Safe mode to see if the problem goes away. Firefox Safe mode is a troubleshooting mode that disables certain parameters, disables most Add-ons (extensions and themes).

    If Firefox is open, you can restart Firefox Safe mode in the Help menu:

    • In Firefox 29,0 and above, click on the menu button

      click Help

      then select restart with disabled modules.

    • In previous versions of Firefox, click on the Firefox button in the upper left of the Firefox window and click help (or click on help in the Menu bar, if you do not have a Firefox button) and click on restart with disabled modules.

    If Firefox is not running, you can start Firefox in Mode safe mode as follows:

    • On Windows: Hold down the SHIFT key when you open the desktop Firefox or shortcut in the start menu.
    • On Mac: Hold the option key during the startup of Firefox.
    • On Linux: Exit Firefox, go to your Terminal and run firefox-safe-mode
      (you may need to specify the installation path of Firefox for example/usr/lib/firefox)

    When the Firefox Safe Mode window appears, select "start mode safe."

    If the issue is not present in Firefox Safe Mode, your problem is probably caused by an extension, and you need to understand that one. Please follow the section Troubleshooting extensions, themes and problems of hardware acceleration to resolve common Firefox problems to find the cause.

    To exit safe mode of Firefox, simply close Firefox and wait a few seconds before you open Firefox for normal use again.

  • Double click on the Home button does not show open applications?

    Why not double click on the Home button shows my open apps? I have an iphone 6Plus, and I want to close some applications that do not work properly.

    Try a forced reboot. Hold down the Home and Sleep/Wake buttons at the same time for about 15 seconds, until the Apple logo appears. You won't lose anything. And then try to click double fast to access the app selector window. Note that these applications are not open. May be best to remove the apps and reinstall, but try the above first.

    On multitasking on your iPhone, iPad and iPod touch - Apple Support

  • When I click on the Home button, a new tab search server 10.0.0.4.

    When I click on the Home button, FF 3.6.6 opens in a new tab, but also opens a new tab constantly seek the 10.0.0.4 server, which of course does not exist! Even whenever I open FF, it always automatically starts looking for server 10.0.0.4 and also opens my Home Page in a new tab.

    This has happened

    Each time Firefox opened

    == I had to connect to the server from my college to access the Internet (they use Cyberroam to monitor access to the site). But now I'm home and connect directly to the net.

    I solved the problem... quite stupid of me... Cyberroam changed my homepage link, which in fact check the server each time. All I had to do was select the Home Page file in the preferences and save it correctly.
    Sorry for not checking properly in the first place.

    Fox

  • After execution of the new updated Adobe, HP Elitebook 2760p left click on the touchpad button has stopped working.

    Original title: left click not working not not on HP laptop

    On my HP Elitebook 2760p running Windows 7 Pro 64 bit, left click on the touchpad button has stopped working.  The right click works, the works of pad, (scrolling and click on) it's just the left click.  It started after the execution of the new update of adobe. I tried to uninstall and reinstall the driver synaptec. I tried the mouse fast and slow speed. I tried pressing rigid, flexible, in different places. I would try to uninstall the update from Adobe, but it won't allow me.  So I uninstalled Adobe Reader and re-installed. Still nothing. Any suggestions?

    Hi cyrilmillot,

    You try to run the Adobe Reader removal tool to remove the Adobe reader completely the system software.

    See the link to Adobe to download the removal tool:

    Adobe Reader/Acrobat removal tool

    After retiring, you can check whether the left click works. If it does not, you could get in touch with Adobe support for further assistance on this topic:

    Adobe forums

    http://helpx.Adobe.com/support/

    If the problem persists, then it may be a hardware problem and you may have to contact HP support for further assistance:

    HP support

    HP laptops - use and configure the TouchPad (Windows 7 and Vista)

  • Spectrum of HP: left and right click on the touchpad buttons behave oddly

    I just bought a spectrum ew HP laptop and the touchpad works well in most parts except for the left and right-click buttons.

    Just that they behave like primary and secondary clicks. I checked that they were set to be as such, but it still does not work.

    Anything I can do or is it a fault with the laptop itself?

    Dear customer,

    Welcome and thanks for posting your question on the Forum of Support HP

    Looks like you are facing difficulties to solve problems with your laptop Touchpad

    We will surely help you with this

    Steps to drain the static charge and load the BIOS default settings to solve the problem

    Step 01. Turn off the laptop

    Step 02. Disconnect the power/AC adapter and also remove the battery too

    Step 03. Press and hold the power button of the laptop for a minute

    Step 04. Now re - insert the battery back in and plug again the power supply/adapter

    Step 05. Start Notepad and keep pressing the F10 key during startup to access the BIOS

    Step 06. Once you get the BIOS, please press F5 or F9 key to load the default settings for the BIOS

    Step 07. Now press ESC/ESC. Save Changes and Exit - Yes

    Step 08. Now, please wait until the unit load the Windows operating system

    Now please download and reinstall the drivers from the touchpad for your laptop on the Site of HP Support

    Now lets go ahead and do the settings again for the buttons on the touch pad according to your needs

    Please click on this link to find several troubleshooting steps to solve this problem

    Hope this helps, for other queries in response to the post and feel free to join us again

    * Click on the white button on the right to say thank you Thumbs Up *.

    Make it easier for others to find solutions by checking a response "Accept as Solution" if it solves your problem.

    Thank you

    K N R K

    Although I am an employee of HP, I speak for myself and not for HP

  • When I click on the menu button, why I can't see the historical option?

    According to the help instructions, in order to remove all or part of the history of my search, I'm supposed to click on the menu button and then select the option of history. However, when I click on the menu button, the story is not listed as one of the options.

    Hi, the button can be in 'other tools and features' in the section Customize the menu. If so, you can drag it to a location of your choice. If it is not visible, try clicking on Restore Defaults - more information - controls customize Firefox, buttons, and toolbars.

    You also bring up history by pressing Ctrl + H. Or you can bring up the menu bar (History tab) temporarily by pressing Alt, or if you want to stay there all the time, then right-click in the tab bar (but not on a tab) and a tick/check bar menu.

    If your question is resolved by this or another answer, please take a minute to let us know. Thank you.

  • When I click on the 'Get' button in the app store for El Capitan, the beachball cursor rises and crashes the app store (not responding) in the force quit window...

    When I click on the 'Get' button in the app store for El Capitan, the beachball cursor rises and crashes the app store (not responding) in the force quit window...

    How can I fix it?

    Nevermind, I restarted the computer and it was fixed

  • When I click with the right button of the mouse on videos from facebook it shows no options for me to copy the link and etc.

    When I click with the right button of the mouse on videos from facebook it shows no options for me to copy the link and etc. It only shows the parameters for the flash player. How can I fix?

    You can find the URL of the thumbnail by following these steps:
    In the context menu, choose {inspect element}.
    Now, you can see the URL in the source down (perhaps you click the small arrow to the left of the line of seledted firstly to show).

  • Context menu (or click on the right button) does not appear in the menu window

    The context menu does not appear in certain sections of the browser.
    If I run the browser in safe mode, it works without problem.
    I tried to reinstall firefox, after uninstalling I also manually deleted everything hidden and visible files - did not help.
    Also I tried the restore mode by default - did not help.

    Here, I put screenshoot.
    Kind regards.

    Sorry for my eng

    Hello

    Try disabling graphics hardware acceleration. As this feature has been added to Firefox, it has gradually improved, but there are still some problems.

    You will have to perhaps restart Firefox for it to take effect, so save any work first (e.g. you compose mail, documents online that you are editing, etc.).

    Then perform the following steps:

    1. Open the Firefox Options (Preferences on Mac or Linux) as follows:

      • In Firefox 29,0 and above, click on the menu button

        then select Options Preferences on Mac or Linux, or Windows.

      • In 28.0 Firefox and earlier versions, click on the Firefox orange upper-left button, then select the 'Options' button or, if there is no button up Firefox, go to tools > Options.
    2. In the window of Firefox Options (or preferences), click on the Advanced tab, and then select general.
    3. You will find in the list of parameters, the checkbox use hardware acceleration when available . Clear this check box.
    4. Now restart Firefox and see if the problems persist.

    In addition, please check the updates for your graphics driver by following the steps in the following knowledge base articles:

    This solve your problems? Please report to us!

    Thank you.

  • Middle by clicking on the 'go' button is no longer, opens a new tab.

    When you pasted a link in the address bar and middle-click on the 'go' button, it is used to open a new tab to the new address. Now, it only goes to the average current tab page - by clicking on the button refresh (without a new link) always opens in a new tab, however.

    Still works for me.

    Try Firefox SafeMode to see how it works there.

    A way of solving problems, which disables most of the modules.

    (If you use it, switch to the default theme).

    • You can open the mode without failure of Firefox 4.0 + by pressing the SHIFT key when you use the desktop Firefox or shortcut in the start menu.
    • Or use the Help menu option, click restart with the disabled... modules while Firefox is running.

    Do not choose anything at the moment, just use 'continue in safe mode.

    To exit safe mode of Firefox, simply close Firefox and wait a few seconds before using the shortcut of Firefox (without the Shift key) to open it again.

    If it's good in Firefox Safe mode, your problem is probably caused by an extension, and you need to understand that one.

    http://support.Mozilla.com/en-us/KB/troubleshooting+extensions+and+themes

    When find you what is causing that, please let us know. It might help others who have this problem.

  • Whenever I try to click on the "back" button or the scroll bar, I get a popup asking me stupid questions, i.e.: Customize the toolbar / return reload etc how can I disable this gene

    When I click on the "back" button or the scroll bar with my mouse, I get a popup asking if I want to customize my toolbar back/reload/open (scrolling) or in a new window? I'm then cannot clear the pop-up window. How can I remove/fix this very annoying problem. I spend a lot of time trying to remove these popups and they keep recurring. No fix for that. I can't seem to find one in the preferences, and I'm starting to hate this OS because of this. Help!

    Please post a screenshot that shows what you hear. Please do not include personal information.

    Start a reply to this message. Drag the image file in the editing window downloading. Alternatively, you can include text in the response.

  • How can I clear the notifications from the notification Center while I can not click on the delete button?

    How can I clear the notifications from the notification Center while I can not click on the delete button? I have an iphone with ios 9.3 6

    WBY can't you click on the white circle with an X in it next to the notification?

Maybe you are looking for

  • Get the path after Spotlight search

    When I find a doc via Spotlight search, I know that I can click on it to access.  But how to get the full path of the file so I know the exact path where the file is located?

  • How can I fix the strange formatting in my documents

    After moving all of my computer of snow leopard old to my new Macbook Pro laptop with the Retina display, I discovered all of my documents have been reformatted with added etc symbols.  Is it possible to fix without having to do so one at a time by h

  • "this is not a bootable floppy please insert a bootable floppy disk and press a key to try again"

    formatted a hard drive now im trying to intall xp when I boot the computer with the cd inside its gives me "is not a bootable floppy please insert a bootable floppy disk and press a key to try again. its an IBM machine, connections saved on the hard

  • Can I re-use the product key sticker cost?

    Hello, the key to the sticker on the side of my computer are recoverable for reinstallation on the same computer? I just got a new hp computer and right when I turned it on it was loaded with junk. So I went to DigitalRiver and got a copy of the 64-b

  • JSON to SCORM 1.2 LMS

    I try to use javascript to store some JSON to a SCORM 1.2 LMS, but it is a failure.I make a call likeSCORM_CallLMSSetValue ("cmi.comments", JSON.stringify (data));where 'data' are a dim one tableand she throws an exception because the value is an inv