TouchEvent (error) this.close

I'm closing a screen if the user touches the screen, but a buttonfield is not selected.  I decided to try to get under the TouchEvent for screen

protected boolean touchEvent (TouchEvent message)
{
If (message.getX (1) > 96 |)  message.getY (1)<>
{
This.Close ();
}
Returns true;
}

But I get an untrapped Exception that says ' called when close() appears not.»  This does not seem possible, I can see the screen on the Simulator and debugger says 'this' is the screen that I want to close.  I'm a bit confused.

Any help is appreciated.

I couldn't solve this one, even with a little help from RIM.

I found a work-around, however.  I created a 'empty' button I called ExitMenu and I also have a Manager custom to display the button of ExitMenu off the screen.  I then gave focus to the ExitMenu button when generating a key event upward.  In this way when I clicked on the screen, but NOT on a buttonfield, ExitMenu button has the focus, and it generates an event fieldchanged I could capture and use to close the screen.

Feel free to post a reply if you need more information or the sample code.

Tags: BlackBerry Developers

Similar Questions

  • Error "this application has failed to start because normaliz.dll was not found. Reinstalling the application may fix this problem.

    Original title: error explorer.exe, Normaliz.dll is missing please help me about the issue.

    Hello

    I get the error "this application has failed to start because normaliz.dll was not found. Reinstalling the application may fix this problem"Please help me!

    Well - so much for the expertise of committed Microsoft Support Engineer 'experts', but no answer to what I expected.

    See how it works for you:

    If you see a message like this:

    Explorer.EXE - unable to locate component: this application has failed to start because Normaliz.dll was not found. Reinstalling the application may fix this problem.

    It is in the case Log:

    Event type: Information
    Event source: Application Popup
    Event category: no
    Event ID: 26
    Description:

    Application popup: Explorer.EXE - unable to locate component: this application has failed to start because Normaliz.dll was not found. Reinstalling the application may fix this problem.

    Start explorer.exe, but the normaliz.dll file.  If explorer.exe is not able to run, you will not be able to do much with your system until the replacement of normaliz.dll.

    You can click OK for errors and finished up in the Task Manager where you can try to fix it.  The message can keep popping up from time to time, while you're fixing it, so just click OK to close the message.

    If normaliz.dll is missing, you can copy it from a working system to the system afflicted with the same version of XP and Internet Explorer.

    You will get a good copy and put it on a floppy disk, thumb drive etc and copy it to your system plagued by using Manager tasks.

    The normaliz.dll file must be located in the c:\windows\system32 folder and therefore is not a Windows file protected, making the Microsoft Support Engineer 'experts' suggest running sfc/scannow, which is just another one of their prosecution of wild goose that will not work, he'll never work and it will only waste your time (and they don't tell you how to run either - if explorer.exe does not start).

    Then engaged Microsoft Support Engineer 'experts' will offer to you develop a copy of the file from the XP installation CD you probably haven't, but it is also not on your XP installation CD, and you will have the same problem try their suggestions to 'try' to start in any any Mode without failure, so this will not help you.  These "experts" seem to think that the Safe Mode boot or boot will replace magically missing files, but it doesn't.

    You also will be able to properly run a browser on the system afflicted to go on Internet download one.

    There is a large computer security risk in the normaliz.dll from some website download.  The best idea is to get a copy of normaliz.dll from another computer that has the same version of XP and IE and replace it from a USB device (which you can access from the Manager tasks), or using a system that works, you can download one of my SkyDrive.

    You can still use the Task Manager to run the system restore and bring it back, but I've never tried and never use SR in all cases.

    If you have recently done a bunch of Microsoft updates, you may have also gotten IE8 so maybe that something was wrong here although the normaliz.dll is the same for each version.

    When you see the error, you can click beyond it and eventually arrived at your screen background image where you can press CTRL-ALT-DEL to start Task Manager. TM, you can click file, new task, Browse and edit the menu drop-down "Files of type" to all files that you can see all the files in folders.

    Go to c:\windows\system32 to see if normaliz.dll is really missing. If the error appears again while browsing, just click OK to get past it.  The explorer.exe tries to run and cannot until the missing file is replaced.

    If it's the only thing missing, you can get one from a working system of the same type as yours, copy on a Flash DRIVE or a floppy disk and always using TM, to browse, copy and paste it where it should be or you can download one of my SkyDrive.

    TM, you can still access your thumb or any other medium the same disk by navigating, copy, paste, etc very well all work.  You use TM to navigate to your thumb or floppy disk, copy the normaliz.dll good and then paste it in the c:\windows\system32 folder, where it is supposed to be.

    If things get worse, just return to TM and remove the file back where you were in first place and continue troubleshooting.

    Using a system that works, you can also download a copy of the file from my SkyDrive and put it on a floppy or USB thumbdrive and networks diskettes for the distressed system.  Sandalenet means wear you the system afflicted by hand.

    I downloaded a copy of XP Pro SP3 file you need on my SkyDrive (everyone has a SkyDrive for file sharing).

    You can download it and when you do, place a copy of the file in these two folders (assuming that Windows is installed on your C drive):

    c:\Windows\System32

    Here is the link to my SkyDrive and you can get the file you need here:

    https://SkyDrive.live.com/?CID=6a7e789cab1d6f39&ID=6A7E789CAB1D6F39! 311

    When you see the files available for download, you can not see the file extension (.exe, .dll, .cpl, .sys, .zip, etc.), but when download you them they will have the right extension.

    When you download the file (especially if you use Internet Explorer), when you get a chance to save the file, your browser is unable to save the file with an extension (by example, .exe, .dll, .cpl, .sys, .zip, etc) then you will need to manually add the extension appropriate to the file when you download the file before you save it.

    You can download the file without the extension, and then rename the file to add the appropriate extension.  You do not want to use a file called normaliz when the name of the file should really be called normaliz.dll (if the downloaded file has no extension, you will need to change the name of the file to add the appropriate extension to make it work.

    You then put the downloaded files in the correct folders on your system.

    That may not solve all your problems, but at least you will be spending this part and we can then fix the rest.

  • I can't open ANYTHING - no programs. I get this error: this file does not have a program... create an association in the set Associations control panel.

    I had a Trojan attack my computer with the "buy our virus * to clean the virus we just find it for you. After that I ran a rescue cd I could use my computer, I thought - until I tried to open anything - use ANY program. Had this error: "this file doesn't have a program with her code to perform this action. create an association in the control panel to define the Associations. " Then I ran another malware program we found a single file of trogan more. But STILL I can't open ANYTHING - no programs. I ALWAYS get this error: "this file has no program associated with it for performing this action. create an association in the control panel to define the Associations. " I can't find this problem on any forum - all about opening a specific file, visit a Web site or an e-mail. I can't do anything or open all programs. Help!

    Try this fix for the EXE file. http://www.dougknox.com/XP/fileassoc/xp_exe_fix.zip

    Download and run Rkill to stop malware: http://download.bleepingcomputer.com/grinler/rkill.com/

    Do not restart or close Rkill

    Download Malwarebytes and delete all files found this program: http://www.malwarebytes.org/mbam.php

    Scan with this online scan and delete all the files: http://www.eset.com/us/online-scanner

  • What is error this.container is null - I get this error when I opened a new page/site, including FireFox.

    A few days ago my Google calendar has stopped working - do not allow me to edit or do anything whatsoever. Following a recommendation from Firefox, I erased the history and Max and other steps in their recommendation. Since then, not only my Google Calendar still does NOT, but I also keep getting the error: this.container is null.

    HELP PLEASE! What I have to do. I'm afraid that I messed up my set up.

    Have you tried disabling all extensions?

  • Error: This installer needs to access 'My Documents'

    Hello

    When my installer has been installed on Windows 7 Professional (64 bit), I got the following error:

    Error: This installer needs to access 'My Documents'... (see attached screenshot).

    The installer is already successfully installed on Windows 7.

    I did the Setup program on Windows XP (32 bit), LabVIEW 8.6.1

    Someone knows this error arise? And someone knows a solution?

    Thank you

    Nick

    _nick_ wrote:

    Hello

    When my installer has been installed on Windows 7 Professional (64 bit), I got the following error:

    Error: This installer needs to access 'My Documents'... (see attached screenshot).

    The installer is already successfully installed on Windows 7.

    I did the Setup program on Windows XP (32 bit), LabVIEW 8.6.1

    Someone knows this error arise? And someone knows a solution?

    Thank you

    Nick

    Yes to one of these government sites where users are prevented access to their desktop. The workaround is to plan a person to MAKE their installation to enter the admin password.

    Ben

  • Windows Activation error: this version of the Windows Genuine Advantage validation tool is no longer supported. Please download the latest version and make sure that your system clock is accurate.

    Original title: Genuine Advantage error.

    Attempts to run Genuine Advantage so I can install photo pro tools Gets the error:
    "This version of the Windows Genuine Advantage validation tool is no longer supported.
    Please download the latest version and make sure that your system clock is accurate. »

    My system clock is accurate within 2 seconds of the atomic clock in Ft Collins.
    There is no update I can find for Genuine Advantage.

    I have a XP

    Please try USING INTERNET EXPLORER validation only - www.microsoft.com/genuine/validate

    What to validate for?

    what you're trying to download?

  • Microsoft Visual C ++ Runtime error - this application library requested execution unusual way. -.

    I installed half life episode 2 1 in the Middle, the following message is displayed on the game screen and game hung when I click on the game stopped following message - microsoft Visual C ++ Library Runtime error - this application has requested the execution unusual way. -.

    Hello

    I suggest you follow the link and check.

    http://answers.Microsoft.com/en-us/Windows/Forum/windows_xp-performance/Visual-c-runtime-library-terminates-in-unusual-way/211c7d9d-1b55-417C-8F55-ca8e86ecc7b3

  • svhost error: this application has failed to start because xul.dll not found. Reinstalling the application may fix this problem

    I got a message when I reboot my pc
    «svhost error: this application has failed to start because xul.dll not found.» Reinstalling the application may fix this problem.
    I need someone to help solve this problem.

    Let's see...

    I downloaded this zip file to see what was in it.  The version of the file in this download link xul.dll is approximately 2 years and version 1.9.0.14

    The version of the xul.dll of Firefox on my system (trying to keep up-to-date and all) is aged two weeks and version 5.0.

    I think I want to reinstall Firefox, but this isn't the Firefox forum.

  • Error "this file has no program associated with it for performing this action. An association in the SET ASSOCIATIONS of Crete Control Panel

    Original title: file Association.

    File association.  I am trying to create a delivery company in a direct line between doba.com, and ebay.  I get an error when I try to export.  The error "this file has no program associated with it for performing this action.  An association in the SET ASSOCIATIONS of Crete Control Panel.  I don't know how to do this.

    Great, I can help you right now.  Just open your C:\Users\Peggy\Downloads folder.  While you're looking at him, make a right click on the file icon and choose 'Open with', then "Choose program" you can get the Notepad in the list.

    Here is an example. This example is Windows 7, so it seems a little different, but the steps are the same:

    1. Right click on the file
    2. Go to "open with".
    3. Choose "Notepad."  If Notepad is not listed, use the option "choose by default" to find Notepad instead.

    This will open the file for you to view the data inside.

  • Cannot access the he DVD drive in Windows Vista. Error: This device cannot start. (Code 10)

    All of a sudden my DVD drive has stopped working. Windows Vista SP2 doesn't see it, but I can see it in the BIOS.
    Error: This device cannot start. (Code 10)
    The driver has the exclamation point. I uninstalled the driver and restarted the PC, but the system does not re - install.
    The exclamation point is up there.

    Help, please

    Thank you

    Hello

    This article can help...

    http://support.Microsoft.com/kb/314060

    Tricky

  • OfficeJet6500A more - ePrint Setup error - this printer could not connect to the server

    My 6500 a is connected to the internet and I am able to print wireless.

    When you try to set up ePrint, I go through the following menu path: installing, configuring Web services, the printer email address.

    I get the message error "this printer could not connect to the server.

    I have read and tried the others 'solutions' on the plate that involved turning market eprint, crossing out-lit power cycles, turning wireless on and outside, turning on the printer and wait 5 minutes, restoration of factory settings...   Nothing works.

    Any ideas?

    From one day to the next it printed the ePrint address, so I guess that the problem was with the HP sever.

  • I get the message error "this document cannot be printed.

    When you try to print a pdf file, I get the message error "this document cannot be printed. The problem is when I switch to another printer.

    Hello

    OK, consider to reinstall Adobe Reader. First uninstall it and then reinstall.

    If this did not help then in the print dialog box, make sure the "Print to file" checkbox is not checked!

    Make sure that you have selected the right printer and try to preview before print see if it shows anything be it for printing?

    Have a look here

    https://www.Adobe.com/support/techdocs/333236.html

    Hope above can help,

  • Get error "this application does not work without Google play services"...!

    Hello

    I use google maps in my application and be able to install the apk from file in the BB device. But after installation when launching the application, I get an error "this application does not work without Google play services.

    How can I get google game services to the BlackBerry device.

    Kind regards

    NGO.

    The BlackBerry Runtime for Android applications does not support Google Maps (or Google Services play). If your application uses Google Maps, there are two ways that you can support mapping in your application. One option is to replace the library card theGoogle with a WebView that integrates the web version of Google Maps.

    For more information on this process, see using a WebView to view Google Maps.

    Another option is to replace Google Maps with OpenStreetMap, which is a free card all over the world.

    For more information on this process, see Replace Google Maps with OpenStreetMap.

  • while I'm clicking on download to download the software nymgo or actionvoip the error "this page cannot be opened.

    while I'm clicking on download to download nymgo or software actionvoip the error "this page cannot be opened" I use window7.

    Hello

    1. where you are trying to download the software from?

    2. what mobile phone you are using?

    3. what web browser do you use?

    4. What is the full error message that you receive?

    5. are you able to download other programs without any problem?

    If the problem only occurs with the Nymgo software download, I suggest you contact Nymgo support for assistance.

    Hope the helps of information.

  • Getting the error "this file does not have a program associated with it for performing this action" when choosing "open with" from the context menu on any type of file

    I get this error since I uninstalled an application called DriverCure. Now when I choose 'open with' any type of file I get this error this is really boring, I also tried reinstalling the app and also do a system file check, but it was of no use.

    Hello

    Thanks for posting your query in the Microsoft Community Forums.

    According to the description provided, I understand that you are unable to open any type of file on the Windows 7 computer. I will certainly help you in this regard.

    You can deal with these issues, if the file is corrupted. I would refer you o suggest the help article and run the Fixit tool.

    When you run an .exe on a Windows XP, Windows Vista or Windows 7 computer file, the file can start another program

    http://support.Microsoft.com/kb/950505

    Note: This section, method, or task contains steps that tell you how to modify the registry. However, serious problems can occur if you modify the registry incorrectly. Therefore, make sure that you proceed with caution. For added protection, back up the registry before you edit it. Then you can restore the registry if a problem occurs. For more information about how to back up and restore the registry, click on the number below to view the article in the Microsoft Knowledge Base. How to back up and restore the registry in Windows:
    http://Windows.Microsoft.com/en-us/Windows7/back-up-the-registry

    Back to us for any problem related to Windows. We will be happy to help you. We at Microsoft try to provide our customers the best experience.

Maybe you are looking for