It was not SelectAll. I finally found it. It would be RequestFocus.
The TextBox (EditText) can be selected with TextBox.Select() in .NET. Why is RequestFocus() on B4A?
B4X:
Sub CheckBox1_CheckedChange(Checked As Boolean)
If CheckBox1.Checked = True Then
EditText1.Enabled=True
IME.ShowKeyboard(EditText1)
EditText1.RequestFocus()
Else
EditText1.Enabled=False
EditText1.Text = ""
Spinner1.Visible=False
End If
End Sub
Firstly welcome to the community, may you have many many many hours of great app development using the full suite of B4X development tools. Now lets answer your question.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.