imbault Well-Known Member Licensed User Longtime User May 8, 2015 #1 Hi, when the keyboard appears, and when I press Done, the behaviour is just a carriage return, and the keyboard is still here Any clue? B4X: Dim Textview1 As TextView Textview1.Initialize("tv1") Textview1.text = Values(i) Textview1.TextAlignment = Textview1.ALIGNMENT_CENTER Textview1.ReturnKey = Textview1.RETURN_DONE
Hi, when the keyboard appears, and when I press Done, the behaviour is just a carriage return, and the keyboard is still here Any clue? B4X: Dim Textview1 As TextView Textview1.Initialize("tv1") Textview1.text = Values(i) Textview1.TextAlignment = Textview1.ALIGNMENT_CENTER Textview1.ReturnKey = Textview1.RETURN_DONE
Erel B4X founder Staff member Licensed User Longtime User May 9, 2015 #2 This is the expected behavior. TextView is a multiline text control. The enter key adds a new line.