Hi all,
I have an edittext with an "EnterPressed" event that does something (beeps).
Using the device's keyboard I can write in the edittext and then pressing the device's keyboard's "Enter key" the EnterPressed event is fired fine.
Now I added a button that generates a string and pressing it, code is :
So the text that the button generates is written in the Editext. No EnterPressed event so far.
So I changed code to :
but still EnterPressed event is not fired.
What I am doing wrong ?
Thank you
I have an edittext with an "EnterPressed" event that does something (beeps).
Using the device's keyboard I can write in the edittext and then pressing the device's keyboard's "Enter key" the EnterPressed event is fired fine.
Now I added a button that generates a string and pressing it, code is :
B4X:
Button1.Text = "abc"
EditText1.Text = Button1.Text
So the text that the button generates is written in the Editext. No EnterPressed event so far.
So I changed code to :
B4X:
Button1.Text = "abc" & CRLF
What I am doing wrong ?
Thank you