tts1.Speak(EditText1.Text,True)I want him to talk when I press the button, I have trouble moving the sub in the button.
I would call this sub inside the button.
thank you
I would call this sub inside the button.
thank you
B4X:
Sub EditText1_TextChanged (Old As String, New As String)
If EditText1.Text.Length > 0 AND EditText1.Text <> Old Then
tts1.Speak(EditText1.Text,True)
End if
[CODE]Sub Button1_Click
EditText1_TextChanged (Old As String, New As String)
End Sub
Last edited: