Image Button control has ButtonDown and ButtonUp events.
Why doesn't simple button have them as well ?
I found it useful to do something continuously while the button is pressed:
Why doesn't simple button have them as well ?
I found it useful to do something continuously while the button is pressed:
B4X:
Sub roll_down
k = StrAt(Sender,4)
roll_flag = 1
Select k
Case 1
Do While roll_flag = 1
rollX(delta)
DoEvents
Loop
...
Sub roll_up
roll_flag = 0
End Sub