Private Sub xpnl_test_Touch(Action As Int, X As Float, Y As Float) As Boolean
If Action = xpnl_test.TOUCH_ACTION_DOWN Then
donwx = X
downy = y
Else if Action = xpnl_test.TOUCH_ACTION_MOVE Then
xpnl_test.Top = xpnl_test.Top + y - downy
xpnl_test.Left = xpnl_test.Left + x - donwx
End If
Return True
End Sub