1. Rolsi's Avatar
    Hi, please help.
    I have an a few imageviews within a scrollview. Ontouch will navigate me to another page, however, the moment I touch the image, it takes me to the appropriate page with no chance to scroll down. How do I get it to scroll and then touch the image to navigate.

    I have tried to find this through Google as well as the cascades documentation with no luck. I would appreciate any help, please

    Thanks
    Roland

    Posted via CB on my Z 10
    05-24-13 12:54 PM
  2. diegonei's Avatar
    Welcome to the forums.

    I'm not sure I follow. Is it a website you're having issues with? Can you link it here so we can try to figure it out?
    05-24-13 01:08 PM
  3. Rolsi's Avatar
    Thanks for the quick response.
    It's a cascades project.

    Thanks

    Roland


    Posted via CB on my Z 10
    05-24-13 01:18 PM
  4. diegonei's Avatar
    I just noticed that this is the dev's lounge.

    Let me go get you a dev or two!
    05-24-13 01:48 PM
  5. Kris Simundson's Avatar
    just a long shot, but have you enabled scrollview with in the second page? the next page a navigation page built into the same qml file or is it a seperate qml file that is being called on?
    05-24-13 01:57 PM
  6. Rolsi's Avatar
    Scrollview is enabled, and works fine when I use Ontouchexit. The next page is an online Webview, also working well. Ontouch however, responds immediately, sending me to the next page, without the chance to scroll first.

    Thanks
    Appreciate the help

    Roland

    Posted via CB on my Z 10
    05-24-13 07:42 PM
  7. Sith_Apprentice's Avatar
    instead of onTouch (which is flaky), try using onTap in the gesturehandler group.

    gestureHandlers: [
    TapHandler {
    onTapped: {
    //your code here

    }
    }
    ]



    This replaces the entire onTouch event.
    05-30-13 06:13 AM
  8. Rolsi's Avatar
    Thanks, this worked very well.

    Regards

    Roland


    Posted via CB on my Z 10
    05-30-13 10:31 AM
  9. Sith_Apprentice's Avatar
    Thanks, this worked very well.

    Regards

    Roland


    Posted via CB on my Z 10
    Glad to hear it. I think what was happening is that the scrollview would recognize the scrolling motion as your Touch and trigger accordingly. With the onTap it is abit more precise.
    KermEd likes this.
    05-30-13 12:33 PM

Similar Threads

  1. Need help/advise on Storm on O2 in UK
    By wyabcp in forum BlackBerry Storm Series
    Replies: 67
    Last Post: 04-03-09, 04:33 PM
  2. Help WIFI cuts in and out on my TM Curve
    By Bowlinggrama in forum General BlackBerry News, Discussion & Rumors
    Replies: 7
    Last Post: 01-05-09, 11:20 PM
  3. Help - On 3rd BB in 3 months
    By elyella in forum BlackBerry Curve Series
    Replies: 24
    Last Post: 11-13-08, 03:31 PM
  4. Help WIFI cuts in and out on my TM Curve
    By Bowlinggrama in forum BlackBerry Curve Series
    Replies: 6
    Last Post: 08-22-08, 09:57 AM
  5. HELP! How do you click on link in email?
    By kiprusoff_fan in forum BlackBerry Pearl Series
    Replies: 5
    Last Post: 07-30-08, 10:38 AM
LINK TO POST COPIED TO CLIPBOARD