Mashiane Expert Licensed User Longtime User Dec 16, 2016 #1 Hi I am loading a panel with a multi-line edittext on a scrollview. I resize the height to be double the height of the device and resize the multi-line edittext accordingly. Now the challenge is when I type text in the multi-line that is longer, no vertical scroll bar is shown and I can't scroll the text as the underlying scrollview swipe event detects my movements. Is there a way around this so that the multi-line edittext behaves as expected within the scrollview? Ta!
Hi I am loading a panel with a multi-line edittext on a scrollview. I resize the height to be double the height of the device and resize the multi-line edittext accordingly. Now the challenge is when I type text in the multi-line that is longer, no vertical scroll bar is shown and I can't scroll the text as the underlying scrollview swipe event detects my movements. Is there a way around this so that the multi-line edittext behaves as expected within the scrollview? Ta!
Erel B4X founder Staff member Licensed User Longtime User Dec 18, 2016 #2 Do you need the text to be editable? If not then you should use CustomListView.AddTextItem. Upvote 0
Mashiane Expert Licensed User Longtime User Dec 18, 2016 #3 Erel said: Do you need the text to be editable? If not then you should use CustomListView.AddTextItem. Click to expand... Yes, the text will be editable. Upvote 0
Erel said: Do you need the text to be editable? If not then you should use CustomListView.AddTextItem. Click to expand... Yes, the text will be editable.
Erel B4X founder Staff member Licensed User Longtime User Dec 19, 2016 #4 You can use StringUtils.MeMeasureMultilineTextHeight to find the required height and make sure that the ScrollView inner panel and the EditText are large enough to hold the entire text. Upvote 0
You can use StringUtils.MeMeasureMultilineTextHeight to find the required height and make sure that the ScrollView inner panel and the EditText are large enough to hold the entire text.