Having used my touchEvent?

I'll have a job of scrolling is problem on a touchscreen device.  The problem I encounter is that something is eating my touchEvent, but this isn't one of my classes.  I need to better understand how the touchEvent cascades through the battery screen so I can compensate for this.  Someone has a link to a useful article?

My code is structured as follows:

Screen has a...

VerticalFieldManager who is the holder of a...

HorizontalFieldManager who holds a...

VerticalFieldManager who is the holder of a...

bunch of LabelFields and custom buttons that exceed the size of the display.

I replaced the touchEvent in all managers with code simply records the true/false result of the super.touchEvent (x) and returns the same value.

The behavior I see is:

-When I touch and move the label screen gets the focus and all my touchevents substituted returns false... and scroll does nothing.

-When I touch a label that isn't that partially on-screen label Gets the focus and all my touchEvents substituted returns true... and scrolling of the works.

The question I'm trying to answer is:

How the API works determine who has received or consumed the touchEvent?  The manager gets a chance to consume the event before the fields it contains, or the event system flows the opposite with fields children shot before managers?

I'd appreciate any help / advice / resources you can give me.

Thanks in advance,

MNM

My understanding is the key event to go in the development field, even if you touch outside the field. It is the responsibility of the developer of detech touch arrived outside the scope of field and manipulate.

Please share the solution to your problem and how you went about troubleshooting it.

-MO.

Tags: BlackBerry Developers

Similar Questions

  • Satellite A210 - 4 1: Winload.exe problem after having used the product recovery disc

    Hello

    I could really do with some help here. I have a PC laptop Toshiba Satellite A210 - 1 4. Disk partitioned with Vista home premium service pack 4.0.

    Last night, I used the product recovery disc supllied with the laptop in an attempt to restore its initial configuration.

    and the end of the procedure, I find myself with a prompt cmd with X:\windows\system32\cmd.exe in the high bit blue box indicating:

    Error: imageX could not apply vista F:\05993xsp.swm Index 2 of ODD to C:\!

    Press a key to continue. Box disappears then an administrator: X:\windows\system32\cmd.exe in the top blue bit indicating:

    waiting for ODD vacancies...
    STRANGE drive f: loan.
    Look for support in the F: drive...
    Failed to initialize the raid class.
    No RAID - continue normally...

    X:\Windows\System32 >

    Now every time the laptop trying to restart it just comes up with the error message:

    CANNOT START WINDOWS. A RECENT HARDWARE CHANGE OR SOFTWARE MAY BE THE
    CAUSE
    FILE: \WINDOWS\SYSTEM32\WINLOAD. EXE
    STATUS: 0XC000000E
    INFO: THE SELECTED ENTRY COULD NOT BE LOADED BECAUSE THE APPLICATION
    IS MISSING OR DAMAGED

    Below I have then have the possibility of esc or continue with the same result of the system attempts to restart.

    The recovery disc has no option of repair on this subject.

    need help please, I have no idea.

    Thank you

    Hello

    Looks like something was wrong during the recovery procedure.
    Have you tried to recover the laptop once more?
    If this isn't the case, you should definitely try this!

    You are right; hasn t drive recovery option for the repair because the recovery disk is not the same as a MS Vista drive. The recovery disk contains image files (it s a package) and the files contains Vista, Toshiba drivers, tools and additional software.

    So if something was happening well wrung out during the recovery procedure, you will not be able to repair the installation of the OS, but you need to run it again.

  • IPad 1 lights not not having used only long

    Hello

    So I have an iPad 1 I did not use in about a year. I slide off the iPad and it had sat in my drawer for about a year. Today, I decide to sell because Im using either and it does not light. I plug it into the charger with an adapter from the 10w. I'm sure that the charger works as it will very well my old iPod. I tried holding down the power button but nothing came on the screen. I tried then hold power and the button "home" at the same time. Still nothing. Its been plug for about an hour and still nothing. The last time that I used it that I remember it works very well. The iPad's store in a cool dry place for about a year. Now, it turns on, my iPad is really dead or what should I do?

    Hello

    Let the charger for about 4 hours if it still does not then the battery is dead.

    Because the ipad, there are now 5 years is not a value

    Spend the money on a repair / battery.

    See you soon

    Brian

  • After having used Mr. Fixit, I now have this 80072EE2 error code. How can I solve this problem?

    How to solve the following problem?

    After using Mr. Fixit to solve this error code 80072EE2, I now have Windows Update, error 0 x 80070057 (2015-10-19-T-11_18_08A not fixed and the recent updates installation issues also do not set. I am running Win 7 Home Premium 64-bit.   How can I solve this problem?

    Thank you

    Harmony

    I really appreciate your response, however, I was able to solve it with the system restore and reinstallation of several windows updates.

    It turned out that a third-party software was the culprit.  Once I made this discovery, I reinstalled the software uninstalled, and carried out the system restore and updates.

    Thanks again!

    Scootslee

  • Get the error "Failed to change the network provider password" after having used the change an option of network after Ctrl alt delete password

    Hello

    I don't know what is the use of this option called "change a network password".i have windows 2008 domain infrastructure.
    All client computers are in the other domain and accessing drives on the part of the domain that I made it through with a one-way trust.
    Can users change their passwords to access the reader to share through change a network password option? If Yes? I'm unable to change the password by using this option.
    Any help will be appreciated.
    Thank you

    Hello

    The question you have posted is linked to the domain network and would be better suited to the TechNet support. I suggest you to report the problem in the TechNet support for more information.

    http://social.technet.Microsoft.com/forums/en-us/newThread?category=WindowsServer&Forum=winserverfiles

    If you have other problems with Windows, please post in the Microsoft Community. We would be happy to help you.

  • Subscribe to Lightroom after having used a Trial Version

    I want to subscribe to Lightroom & use a trial version.  Where can I find a serial number?  Creative cloud includes Lightroom?

    Hello

    Please see the plan in detail here - http://www.adobe.com/creativecloud/photography.html

    ^ Ani

  • Satellite L775 - 18Q - nothing works after having used the mode of intel

    Hi all

    I own a Satellite L770/L775 18 Q.

    Problem is that the screen remains black, no HD playback, nothing happens
    It all started with when I installed the program intel turbo boost should not do I guess.

    Looks like that the bios is corrupted or some thing, I don't quite know because nothing works, not with either F2.
    I know that my laptop is still under warranty, but perhaps it can be fixed somehow.

    Please, I beg you.

    Greetings
    Fred

    I doubt that an installation of an application, the driver or the software would result in such issue eventually it s simply a bad luck that happened after the Intel Turbo boos installation

    So I recommend workaround short but if this fails, don t lose any time and get in touch with the Toshiba ASP in your country for this problem under warranty conditions.

    + Workaround: +.
    Remove the battery and AC adapter
    Wait a few minutes (30 min)
    Then press the power button / stop along 30 sec
    Now connect the battery and the AC adapter and press the power button to turn on the unit.

  • After having used dvd audio does not work for anything else until I restart

    After that I watched a dvd that my sound does not work for my internet browser (chrome) does work stil for hp dvd drive, drive windows media and regular windows functions (as when I put the sound level, it gives the "ring" test to show me the volume

    thakns

    Thank you irfan. I tried exploring and there worked aand it occurred to me that it was just because my browser is open to before it didn't work - so I tried closing and reopening chrome and it worked, maybe! the Explorer has worked even without reopening. Thanks again

  • Yet WT8 - system crashed while trying to use the camera

    Try to take a picture with the camera, the screen got black, the Tablet breaks down, the blue led lights up and I can not restart.

    Is there a reset button?
    I compressed only 4 days and I haved used all the functions yet

    Hello

    I recommend that perform you HARD drive recovery.
    To access the recovery Menu, push the Volume up button and the button of power at the same time for several seconds.
    The menu should appear and now you can choose the HDD recovery point.
    Click YES.
    New menu will appear and here you must choose the point to solve the problems, then restart your PC.
    But beware: choose Reset your PC would be to remove your personal data and unit will be set to their default value.
    Click Next, choose just delete my files and then click RESET.

  • IMovie 10 can be used to edit videos of 2 hours?

    I live in a community band events for others to view later. Until now, the volunteer writers have used iMovie 6, because this version, say, is the most recent who can edit videos of 2 hours.

    I would switch to iMovie 10, which is what I have on my new iMac.

    Someone got experience with iMovie allows you to change this kind of long videos of 10? Any tips?

    I would just try, but I have to learn iMovie first, never having used it before, and I won't unless she goes to work where I need!

    Thank you.

    iMac El Capitan

    iMovie 10.1.1

    There is no limit to the duration of a video project in iMovie 10.  You just ned to have sufficient memory on your computer.  It may be wise to break up a long project in shorter projects easier to manage, which can be joined together when the editing is complete.

    A big differencein iMovie 10 from previous versions is that you can't remove pieces of imported video clips - you can of course use the parts in a project, but the iMovie library still contains the complete imported clips.  If this will give problems of space you trim away the unwanted images for example using Quicktime player before its import in iMovie.

    Geoff,

  • Error with software component TDM plug-in by using automation COM ImportFile

    The importer works fine in Excel. However, when you use automation from LabVIEW I get the error '-2147417851' on the output of the method 'ImportFile '.
    Code snippet below.

    The PC I use has...

    OS = Windows 7

    Excel 2010, all the latest service packs and Office updates.

    LabVIEW 2009

    TDM for Excel Add - In v.3.5.1

    The exact same calls work on another computer with the following text:

    OS = Windows XP

    All the latest service packs and Office Excel 2007 updates.

    LabVIEW 2009

    TDM for Excel Add - In v.3.5.1

    Can't find docs or the reason why it is not working. Libraries appear as recorded from the drop down menus. The importer has been working for Excel. I restarted updated and reinstalled and restarted what feels like a million times already. What I'm missing here? Any ideas?

    I remember that we should connect/disconnect the Addin to Excel after having used.

  • After using IMAQ RT Video Out, how to return to the string of rt debugging output?

    After having used the video on VI IMAQ RT, the screen image as expected. Then, I want to return to the display console where I can see the RT Debug channels and the processor. Is this possible?

    Infinite,.

    The previous answer is incorrect. It is possible to change the mode back to text video. Just use the "IMAQ out video display Mode" VI for the parameter "Text Mode". This should restore the display of text.

    -Eric

  • TouchEvent in Listfield does not work after scrolling in the storm.

    Hello

    My problem is that I have a 250 size listfield, which I add to a verticalfieldmanager1, this verticalfieldmanager1 is added to an another verticalfieldmanager2, then verticalfieldmanager2 is added to horizontalfieldmanager then horizontalfieldmanager is added to the screen.

    By default, I have to display index 220 (to achieve this, I'll focus on the listfield), so when I key to select other items in the list it is not selecting (Touch event does not work). It is to select only the element that has focus.

    I am owner event touch listfield. Could someone please help me in this regard.

    Hello

    I am happy to share that I found a solution for the problem I had.

    Post here as it may help someone. I used the TouchEvent.getX () & TouchEvent.getY)

    directly which solved my problem, previously I was using () TouchEvent.getGlobalX & TouchEvent.getGlobalY ().

    Once again thank you.

  • OfficeJet 5740: impression e6 envlopes on a new 5740 OfficeJet using Windows 10 64 bit version

    I use Microsoft Office 365 under the Windows 10 64-bit operating system. Just bought a HP OfficeJet 5740 printer and the need to address an envlope size e6. I put the right settings, but the machine tells me that the format is incorrect and cancels the print job. For the years oder office aeroplane model having used, I know how to handle this and know that I'm doing things correctly. Any suggestions?

    @Gervas

    Inches millimeters

    E6 5.51 140 X 200 X 7.87

    Assuming you are using the full feature software (printing software):

    If the envelope size does not appear in your print as a standard size preferences, you can create a custom template for your envelope E6.

    In the How-to Section > Print > Instructions and settings >

    Creating custom paper sizes

    Reference:

    Printing options

    See the Section titled: custom paper sizes

    Once you create the custom model (custom form), it should appear in your preferences, and you can select it from inside your print settings in Word.

    When you see a post that will help you,

    Who inspires you, gives a cool idea,

    Or you learn something new.

    Click the 'Thumbs Up' on this post.

    My answer-click accept as Solution to help others find answers.

  • After the passage of the user by using the Fast, my mouse Wireless USB and USB switch wired stop keyboard work or sponsor.

    After having used the username switch function under 'Sign Out' in Windows 8, my Microsoft Sidewinder X 4 USB wired keyboard and mouse wireless Logitech M235 times stop work and answer, making me unable to type a password for the new user account, or use the onscreen keyboard. I also can't click the restart because of this problem, which means I have to press the power button on my case.

    I use the USB 3.0 for a USB 2.0 for the keyboard and the mouse.

    Also, when you use a Gigabyte Force M9 Laser wireless mouse, the cursor is dragging and sometimes not answer I'm browsing the Internet Explorer, play League of Legends or using Microsoft Office. In my view, that is not a driver problem I have uninstalled and reinstalled the driver for the mouse and the keyboard several times in trying to solve this problem.

    This is probably not the best forum to ask for this help.

    I'm looking for a similar problem on a new Office Z97 based solutions.

    My problem is that the profiles of Logitech keyboard and mouse in the software of Logitech are cancelled after a change of user.  Although the keyboard and mouse to their default settings still work.

    Workaround solutions...

    Log on to the account, and sign in again instead of fast user switching.

    Quit and restart the Logitech gaming software... This restarts the profile defined by the user.

Maybe you are looking for