TouchDown gets activated a bit out of my area of container?

Hi, here is the code where I habdle TouchDown events

My container. The problem with this code is that

I noticed that if I click my mouse a bit out of the container

area, the landing is always on, why is this the case? Thank you.

   Container {
                       horizontalAlignment: HorizontalAlignment.Center
                       property alias text: label.text
                       property alias image: imagev.imageSource

                       layout: DockLayout {}

                       ImageView {
                           minWidth: 600.0
                           maxWidth: 600.0
                           minHeight: 100
                           maxHeight: 100
                           horizontalAlignment: HorizontalAlignment.Center
                           verticalAlignment: VerticalAlignment.Center

                           id: imagev
                           imageSource: "asset:///btn-green.png"
                       }        

                       onTouch: {
                             if (event.isDown() ) {
                                     imagev.imageSource = "asset:///btn-lightblue.png";
                             } else if (event.isUp()) {
                                    imagev.imageSource = "asset:///btn-green.png";
                             } else if (event.isCancel()) {
                                    imagev.imageSource = "asset:///btn-green.png";
                             }
                      }

                   }

This is the case, because a finger is not a mouse. It is impossible to click on a pixel with your finger, because a finger is something like 40px 40px. This is the reason why, when you click on a little more outside of a button, the button is always enabled. I think that this is the case on all platforms (Android, iOS, Windows Phone) to simply improve the user experience.

It's very annoying when the button is to small to hit decently with a finger...

Tags: BlackBerry Developers

Similar Questions

  • Unable to get drivers 64-bit for Windows 10 through Boot Camp

    Hello

    I installed 10 windows in my Macbook Air 11 inches early 2015 (4 GB ram, processor i5 1.6 hz, 128 GB ssd) via boot camp, installation went well but I see questions wih the screen brightness and volume. When I checked the driverd they show that 32 bits. Anyone successful with the 64-bit windows installations without going through any volume, screen brightness problems? If so can you please help me to get the 64-bit drivers?

    Are there unknown devices in Device Manager? Do you think that all riders Apple under entry HID? The driver 64 bit 32 bit vs is little probable that the issue.

  • Access denied - can't get XP 64 - bit SP3 to load on my computer AMD processor.

    original title: can not get XP 64 - bit SP3 to load on my computer AMD processor.

    I went to windows update and the download seemed to go ok. Then I got an error saying "ACCESS DENIED" any regulated installation wizard.

    When sp 3 first came out in ' 08, there was a fatal error that caused a problem with the amd chips. I had to take my computer repair. Now you must have sp3 to get new software.
    Does anyone else have this problem?

    Hi StevenCraft,

    I suggest to try the steps from the link to the following article and check to see if it helps:

    When you try to install Windows XP Service Pack, you receive the error message "Access denied" or "installing the Service Pack has not completed"

    I hope this helps.

  • Is it still possible to get the 64-bit Windows Vista support?

    Hello!

    Well, I have a copy to authentic detail, under license of Windows Vista Edition Home Premium. He put 32 bit media. But at the time when Vista comes out, I could order the 64-bit Vista Home Premium support which I use today with the same license key that came on the parcel.
    About a year ago I bought the Windows Vista Express upgrade, which is valid for a Home Premium to Ultimate upgrade. But the disk is 32-bit only! So, I was wondering if it is still possible to get the 64-bit separately, support only this time, for the edition of Vista Ultimate? I ask this question because I would like to upgrade to Vista Ultimate, but still run on 64-bit, since I can't spend 64-bit Home Premium to Ultimate 32 - bit.
    I know that it may be too late now, given the fact that Windows 7 is already out and Windows 8 is in its phase of consumer preview now. But I am not really interested in upgrading to one of them at this stage. All I really want is just to upgrade to Vista Ultimate, but I need the 64-bit support, since I already have the license key.
    Maybe that Microsoft may allow me to download an ISO image of the Vista Ultimate 64-bit? That would be good enough for me, I don't care for the physical disc, it is not really necessary. I could get some pirate site or something like that, since I already own not one but two licenses, but I don't want that.
    Thanks in advance!

    The disks are probably non-destinee resale and this may explain the color.

    The Express Upgrade product key is specific to an upgrade from Home Premium to Ultimate.  The product key with the expedition is probably a full license key.

    > By 'Matrix Vista upgrade', you mean upgrading one bit-version to the other, like 64-bit to 32-bit or 32-64, right?

    N ° upgrade matrix tells you if an upgrade installation is allowed or a custom installation is required when moving from one edition of Windows to another.

    > Also, if I use a key Vista Home Premium that I have today to install Home Premium and then upgrade to Vista Ultimate, what happenes to my old key? The old key become invalid/replaced by the new key that I got the update? I mean where I want to go back to the old edition, I've had to go back to Vista Home Premium, I reuse this old key?

    You can use the old key to return to the old edition.  However, you can not use the key to install the old edition on a different computer.  The old key is bound to the key to upgrade.

    > "" If a user is running a 32-bit version of Windows, a user can only be upgraded to another 32-bit version: upgrade from 32 bit to 64 bit requires a clean installation. ""

    Now you are confusing a "install update" with an 'upgrade license '.  A retail upgrade license is valid to move from a 32-bit edition to a 64-bit edition, but an upgrade installation is not allowed and a custom installation is required (due to the change in the number of bits of the installation).

     
    > And now Microsoft will probably speed up the versions of Windows, with new versions coming out every two years or more, or has done.
     
    Not true.  Microsoft has been on a cycle of three years for a long time.  There is no speed upward.  Vista has been delayed for two years, when Microsoft declared a moratorium until security problems in Windows have been fixed (XP SP2 was the result).
     
    > I don't know about Windows 7. I don't know if I'll get it or wait for Windows 8. I hear a lot of misfortunes for Windows 7
     
    I don't know where you got this info.  Windows 7 is much better than Vista or XP.  Vista is the one that is panned by critics as a real dog.  Try Windows 7 and you will never look back.
     
  • I need a 32-bit version of Firefox to process a single statement to the share point. Where can I get the 32-bit version of Firefox any level?

    I am trying to use a function in SharePoint to allow me to open a library in explore mode. The function is available on the page sharing, and when I select the function my browser Internet Explorer stops working. Unfortunately, IE to its current configuration on my system is required for most internal applications. Chrome will not allow most of the functions in the share Point site, as well as the browser is unusable in my case. Search the current potential resolution to my problem is to run a 32-bit browser to activate my service. Because of the above mentioned limits I have need of a 32-bit version of Firefox, but the download only provides a version 64-bit because my system is 64-bit. How can I get a 32-bit version of Firefox?

    Hi dstibbards, firefox on windows versions are always 32-bit applications so far, so I don't think it will be the problem...

  • On the OWN website of mozilla, I get the message "Your Firefox is out of date and may contain a security risk!' but I just download and install the latest version?

    I have the latest version of firefox to date (15/10/2014 v32) and I still get messages while on various sites Internet (Youtube, Google, Gmail), telling me that your Firefox is out of date and may contain a security risk.

    I have not even this message on the support pages of mozilla.org?

    I tried the subject: config reset the useragent (s) fix, but it does not work.
    I tried browsing in safe mode and still get the error.

    Why this false/positive happening?

    Thank you

    Hello your useragent (information, the browser sends to websites to identify its version) - apparently by mistake - shows this:

    Mozilla/5.0 (Windows NT 6.1; WOW64; rv:2.0.1) Gecko/20140923 Firefox/4.0.0; xs-A30GTmfXR3o;CkHZPf;
    

    probably some kind of unwanted software has crashed it. Please refer to this article in order to reset the user agent settings in firefox:
    Sites Internet says that Firefox is obsolete or incompatible, even if it's the latest version

    in case this is not enough, please try to reset the whole browser:
    Firefox - modules to reset and refresh settings

  • How to get Vista 32 bit back?

    After getting a Trojan horse I had to use recovery media. Only the supplied stand is a Toshiba Vista Home Premium 64-bit recovery media. After having used these disks and restore a healthy system, a number of programs that will not charge. I can only assume him comes from the portable computer that has 32-bit and restore disks were 64-bit. Why would it be so and how can I get a 32-bit system back so that I can load my programs?

    Hello

    It will be interesting to know what model of laptop you have exactly. Please post the exact model laptop.

    In General, every Toshiba laptop model comes with 32-bit Vista OS. You are 100% sure you've got the 64-bit operating system?

  • need step by step instructions how to get a 32-bit

    I don't know much about computers so I need to know how to get a 32-bit when I run a 64 I need installed adobe flash. I need answers the step please!

    There are a LOT of previous discussions on this topic: http://www.google.com/search?q=site%3Asocial.answers.microsoft.com+flash+%2B+64-bit&sourceid=ie7&rls=com.microsoft: en-US & ie = utf8 & oe = utf8

    It is not a 64-bit version of Flash Player (at least not yet). To access pages with Flash content, you need to open an instance of IE 32 bits.

    ActiveX controls are not allowed in THE 64-bit. To access pages to the dependent on ActiveX controls, you will need to open an instance of IE 32 bits. ~ Robear Dyer (PA Bear) ~ MS MVP (that is to say, mail, security, Windows & Update Services) since 2002 ~ WARNING: MS MVPs represent or work for Microsoft

  • install xp os House of 7 bones pro, I need to get my 32-bit screen resolution

    I need to get my 32-bit screen resolution

    You will need video drivers provided by the manufacturer of the video device to the operating system, you will be running.  Given what you have, it's 32-bit Windows XP - but yes - with a newer driver that you could probably be able to download easily these days - you need to update Windows XP SP3 as soon as POSSIBLE.

  • Do I have to get the 64-Bit operating system?

    My laptop has a 64-bit processor. I plan to put Windows 7 on it. My question is that I have to get a 64 bit version of Windows 7? Is it necessary or can I put regular Windows 7? My reason for asking is that I can't find a 64 bit Version. Unless it's an option selected during the installation of Windows 7? Thanks for any help.

    On Saturday, February 12, 2011 13:35:16 + 0000, MissADD wrote:

    My laptop has a 64-bit processor. I plan to put Windows 7 on it. My question is that I have to get a 64 bit version of Windows 7?

    No. 64-bit CPU can run 32-bit or 64-bit Windows. But a 32-bit
    CPU can run only 32-bit

    Is it necessary or can I put regular Windows 7?

    Is not 64-bit vs "ordinary". It is 64-bit or 32-bit.

    My reason for asking is that I can't find a 64 bit Version. Unless it's an option selected during the installation of Windows 7? Thanks for any help.

    It's not exactly an option, but when you buy a copy of Windows retail
    7, it comes with two DVDs, one for 32-bit and one for 64 - bit. But note
    you get a license, you can use either, but not both.

    And also note that it is a forum for Windows Vista. In the future, please
    Ask in the right place.

    Ken Blake (MS-MVP)

  • How to get the 32-bit windows 7 Edition home premium?

    Help please.  my computer laptop gateway has been preloaded with windows 7 Home premium.  I got the 64 bit and 32 bit, I now only 64-bit.  How to get the 32 bit.  I also have a floating cursor also happened at the same time.  Does anyone have an answer?

    Hello

    If you bought a gateway with Windows 7 pre-installed machine, it would be either 32-bit or 64-bit, not both.

    See you soon.

  • How to get active Document?

    UIDRef docUIDRef = GetDocumentUIDRef (widget); Result: fDB = 0x05ccc310, fID = 1

    InterfacePtr < IDocument > document (docUIDRef, UseDefaultIID());

    Happen error:

    __vfptr = CXX0030: error: expression cannot be evaluated

    But I opened the file in the sdk, it's ok.

    IdFichier fSysFile;

    FileUtils::PMStringToIDFile ("D:\\test.indd", fSysFile);

    SDKLayoutHelper layoutHelper;

    UIDRef docUIDRef = (fSysFile) layoutHelper.OpenDocument;

    InterfacePtr < IDocument > document (docUIDRef, UseDefaultIID());

    How to get active Document?

    Thank you

    You can use the ILayoutUIUtils to get a reference to the current document. The code would be as below

    iDocument * iDoc = Utils()-> GetFrontDocument();

    -Manan

  • How can I get the 32-bit version of Photoshop?

    I recently installed CS6, the disk version, not the version of cloud.  It does not include a 32-bit version of Photoshop (like CS5), and many of my filters will not work in the 64-bit version, despite what I said in the CHAT sessions.  Subscribers can download CC 2014 for the 32-bit version, but is not available with my serial number of the installation disk.  Is it possible to get a 32-bit version for those of us who are buyers, rather than subscribers?

    If your on an operating system 64-bit windows, are you sure that the 32-bit photoshop cs6 is not in C:\Program Files (x 86) \Adobe\Adobe Photoshop CS6?

    In the event that your drive has not delivered with the 32-bit version, does photoshop cs6 download here:

    Download Creative Suite 6 applications

    No. 32-bit photoshop cs6 on mac.

  • Upgrade Lightroom 5 - &gt; autonomous 6: how to get a 64-bit AND a 32-bit version?

    Upgrade Lightroom 5 - > autonomous 6: downloaded on a 64-bit (my office) system - how to get a 32-bit version in order to install on my laptop (which is 32 bit) that it was possible with LR5?

    There is no 32-bit version of Lightroom 6. It is 64-bit only.

    Update on the OS support for the next Version of Lightroom

  • How can I get a 32-bit of Windows Vista in Photoshop version, please?

    How can I get a 32-bit of Windows Vista in Photoshop version, please?

    Hi Kevinhannan,

    No courses Photoshop supports this configuration.

    Photoshop CS5 is the latest version of Photoshop to support Windows Vista.

    Photoshop elements 12 was the latest version of Photoshop Elements to support Vista as well.

    We no longer offer Photoshop CS5 or 12 elements.

    You could look on Amazon to see if you can get either a product listed above. Just be careful when you buy, make sure you know who you buy from!

    Kind regards

    Pete

Maybe you are looking for

  • Merge two Apple ID.

    When I bought my first iMac, I introduced an email that I do not use it. ID Apple with this e-mail has iWork applications for free because it was the offer that I got. Now I use another email to Apple ID. My question is: if I can take the apps I have

  • OfficeJet 4630: password wireless

    I'm trying to set up the connection of my printer wireless to my router again.  The new router password includes a + sign, but I can't see how to enter a sign using the keypad of the printer.

  • USB-6341 not on the list of simulation devices

    I want to create a USB-6341 siumulated, but this model is not in the list of available under devices simulated in MAX X series devices. I don't see in the devices of series X available for the simulation are PCIe devices. I have MAX 4.7, 9.1.5 DAQmx

  • My fan is still on

    I have a hp dv6 envy my laptop fan is always on no matter what, I tried to clean the vents and very little dust came out but the fan is always on all the time, what's the problem? It was never like this

  • R60 9457-A49 goes electric question Argentina

    I send my sister my R60 I live in the United States, she lives in Argentina there is any problem with the different electric?