Hi,
I am trying use one single button to do the below to change the button name. But it is not working.
By default the Button1.text = "Start"
Please anyone help me out.
I am trying use one single button to do the below to change the button name. But it is not working.
By default the Button1.text = "Start"
B4X:
Sub Button1_Click
If Button1.text = “Start” then
Button1.text = “Stop”
End If
If Button1.text = “Stop” then
Button1.text = “Start”
End If
End Sub
Please anyone help me out.