I am trying to make a simple app that will take typed text and using system.speak send out voice. I have a “send” button that does this OK, I would like to also capture the Enter key. It should be a simple thing to capture the Enter key…..
In KeyDown on a TextField
If Key = Chr(13) Then
System.Speak(TextField1.Text)
TextArea1.AddText(TextField1.text + EndOfLine)
TextField1.text= “”
’ Set the cursor back to the input field
TextField1.SetFocus
Return True
Else
Return False
End If
Well, that doesn’t work. In debug, I can only see printing characters, so if it is trapping on Chr(13) I don’t see it.
I saw a similar post from 5 years ago and what is supposed to work is what I have here, however No Joy. This app is for a friend that has can’t speak after cancer surgery. I want to connect this app to his Ham Radio so that he can get back on the air.
Suggestions?
Bob N4RFC