Typing a number into the TextField and pressing Enter on the keyboard works as expected and selects the Text in the TextField after analysing if the number is correct.
Typing a number in the EditField and clicking on the Button with the mouse works out if your number is correct but does not highlight the text in the TextField.
I added a line of code in btnTry_Action to make this work -
Typing a number in the EditField and clicking on the Button with the mouse works out if your number is correct but does not highlight the text in the TextField.
I added a line of code in btnTry_Action to make this work -
B4X:
txtGuess.RequestFocus ' sets focus to the EditField
txtGuess.SelectAll