Hi,
I like to have a cursor moving as long as I hold down a button. I was assuming the button_down instead of button_click would do it, but nevertheless with the code below the cursor only moves when clicking the button.
B4X:
Sub btnTest_down
If btntest_down=True Then
cursor=cursor+10
End If
btnTest_flag=True 'used to update the cursor appearance
End Sub
Button_Down event is raised once. You will need to start a timer in this sub and disable the timer in Button_Up. The cursor should be updated in the timer event.