iOS Question Touch End

Discussion in 'iOS Questions' started by narek adonts, Mar 5, 2015.

  1. narek adonts

    narek adonts Well-Known Member Licensed User

    How detect Panel touch end event.

  2. klaus

    klaus Expert Licensed User

    You need to check ACTION_UP in the Touch event.
    Sub Panel1_Touch(Action As Int, X As Float, Y As Float)
    Select Action
    Case Panel1.ACTION_DOWN
    ' code for touch down
        Case Panel1.ACTION_MOVE
    ' code for touch move
        Case Panel1.ACTION _UP
    ' code for touch up
        End Select
    End Sub
    Erel likes this.
  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice