locked
Change a variable by dragging an image

    Question

  • I have an image called imgMyImage and an Integer variable called MyValue.

    If user drags imgMyImage to the left, MyValue should increase by 1
    If user drags imgMyImage to the right, MyValue should decrease by 1

    I don't want imgMyImage to go anywhere or anything fancy, just want to manipulate MyValue.


    What's the simplest way to accomplish this?

    Thursday, January 1, 2015 8:13 PM

Answers

  • Well this is embarresing. However it seems that I forgot about the
    PointerMoved event. Problem solved.


    • Marked as answer by FacilisDK Thursday, January 1, 2015 8:50 PM
    • Edited by FacilisDK Thursday, January 1, 2015 8:50 PM
    Thursday, January 1, 2015 8:50 PM

All replies

  • Well this is embarresing. However it seems that I forgot about the
    PointerMoved event. Problem solved.


    • Marked as answer by FacilisDK Thursday, January 1, 2015 8:50 PM
    • Edited by FacilisDK Thursday, January 1, 2015 8:50 PM
    Thursday, January 1, 2015 8:50 PM
  • Hi,

    Thanks for your answer! If your have any problems about windows store app. I am willing to help you!

    Best Wishes!


    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place. <br/> Click <a href="http://support.microsoft.com/common/survey.aspx?showpage=1&scid=sw%3Ben%3B3559&theme=tech"> HERE</a> to participate the survey.

    Friday, January 2, 2015 5:53 AM