jeronimovilar Active Member Licensed User Longtime User Jul 8, 2023 #1 My button is "enabled=false" but they call "btnMais_Click". Why? B4X: Private Sub btnMais_Click Log(btnMais.Enabled) '---> Log shows: false TEMPO = TEMPO + 1 LblCountDown1.Text = TEMPO & ":00" btnTIMER.Text = TEMPO & ":00" End Sub
My button is "enabled=false" but they call "btnMais_Click". Why? B4X: Private Sub btnMais_Click Log(btnMais.Enabled) '---> Log shows: false TEMPO = TEMPO + 1 LblCountDown1.Text = TEMPO & ":00" btnTIMER.Text = TEMPO & ":00" End Sub
teddybear Well-Known Member Licensed User Jul 8, 2023 #2 How do you set the btnMais.enabled = False? you'd better post a small project. Upvote 0
aeric Expert Licensed User Longtime User Jul 8, 2023 #3 Do you change the Event name in Layout Designer or Initialize it with different Event name? Upvote 0
agraham Expert Licensed User Longtime User Jul 8, 2023 #4 Do you make a call to Sub btnMais_Click somewhere else in your code? Upvote 0