B4J Question How know if button if pressed?

jmon

Well-Known Member
Licensed User
Longtime User
Upvote 0

Eme Fibonacci

Well-Known Member
Licensed User
Longtime User
or "action" which I tend to use more than the other methods
B4X:
Private Sub myBtn_Action
    'your code
End Sub

Yes, Too work.

B4X:
Sub Button1_Action
    Log("MouseUp")
End Sub

Sub Button1_MousePressed (EventData As MouseEvent)
    Log("MouseDown")
End Sub
 
Upvote 0
Top