tengo un problema con la condicion select case, comparo pero no funciona, adjunto mi codigo y una copia del programa que estoy trabajando
Sub txtSend_TextChanged (Old As String, New As String)
Select txtSend.text
Case "z"
Msgbox("sads","")
Case "a"
Msgbox("","")
Case " "
Msgbox("","")
End Select
End Sub
sorry
I have a problem with the condition select case, but does not work compare, attached my code and a copy of the program I'm working
Sub txtSend_TextChanged (Old As String, New As String)
Select txtSend.text
Case "z"
Msgbox("sads","")
Case "a"
Msgbox("","")
Case " "
Msgbox("","")
End Select
End Sub
I think it needs to be like this in order for it to work
B4X:
Sub txtSend_TextChanged (Old As String, New As String)
Select New
Case "z"
Msgbox("sads","")
Case "a"
Msgbox("","")
Case " "
Msgbox("","")
End Select
End Sub