J jnbarban Member Licensed User Longtime User Apr 7, 2011 #1 Hi, do you know how select All the text on editTextBox by click on it ? (or by press on "done" button of keyboard) When i try this : B4X: Sub txb_NombreChambre_Click txb_NombreChambre.SelectAll End Sub The EditTextBox text don't be all selected , editTextBox just get Focus. if i click again on it : Ok, my text is selected. Thanks for Help...
Hi, do you know how select All the text on editTextBox by click on it ? (or by press on "done" button of keyboard) When i try this : B4X: Sub txb_NombreChambre_Click txb_NombreChambre.SelectAll End Sub The EditTextBox text don't be all selected , editTextBox just get Focus. if i click again on it : Ok, my text is selected. Thanks for Help...
Erel B4X founder Staff member Licensed User Longtime User Apr 7, 2011 #2 Call EditText.SelectAll somewhere before (like in Activity_Create). When the user will select the EditText the text will be selected. You can then select the text again. Upvote 0
Call EditText.SelectAll somewhere before (like in Activity_Create). When the user will select the EditText the text will be selected. You can then select the text again.