J jemajuca Member Licensed User Feb 19, 2018 #1 Hello. I followed the recomendation to use EditText as on https://www.b4x.com/android/forum/t...w-to-display-a-block-of-scrollable-text.7996/ The problem I have is that no scroll bar is shown, so the user can't see there is more text below. How can I force the scroll bar to show?
Hello. I followed the recomendation to use EditText as on https://www.b4x.com/android/forum/t...w-to-display-a-block-of-scrollable-text.7996/ The problem I have is that no scroll bar is shown, so the user can't see there is more text below. How can I force the scroll bar to show?
Erel B4X founder Staff member Licensed User Longtime User Feb 19, 2018 #2 This is very old post. You should use xCustomListView.AddTextItem. Upvote 0
J jemajuca Member Licensed User Feb 20, 2018 #3 Thank you Erel. Using xCustomListView but the problem persist. The scroll bar only appears when the user touch the text to drag it. I need to show the scroll bar always, or detect when there is more text below, to show i.e. an arrow. Upvote 0
Thank you Erel. Using xCustomListView but the problem persist. The scroll bar only appears when the user touch the text to drag it. I need to show the scroll bar always, or detect when there is more text below, to show i.e. an arrow.
Erel B4X founder Staff member Licensed User Longtime User Feb 20, 2018 #4 You can handle the ScrollChanged event and hide and show an arrow button based on the scroll position. Make GetScrollViewContentSize public. It will help you. Upvote 0
You can handle the ScrollChanged event and hide and show an arrow button based on the scroll position. Make GetScrollViewContentSize public. It will help you.
J jemajuca Member Licensed User Feb 20, 2018 #5 I do it but I only get the new scroll position only if the text window (customlistview) is touched. I need to know if there is some remain text below prior to touch the text window. Upvote 0
I do it but I only get the new scroll position only if the text window (customlistview) is touched. I need to know if there is some remain text below prior to touch the text window.
Erel B4X founder Staff member Licensed User Longtime User Feb 21, 2018 #6 If the scroll position + CLV.Height < GetScrollViewContentSize then you have more text below. Upvote 0
J jemajuca Member Licensed User Feb 23, 2018 #7 Solved! I could't find it. I can resize the width an height of the text window (customlistview) but I can't find the manner to set the left and top position by code for this one as I do for other items. Is there a different manner for positioning it? Upvote 0
Solved! I could't find it. I can resize the width an height of the text window (customlistview) but I can't find the manner to set the left and top position by code for this one as I do for other items. Is there a different manner for positioning it?
Erel B4X founder Staff member Licensed User Longtime User Feb 25, 2018 #8 jemajuca said: I can resize the width an height of the text window (customlistview) but I can't find the manner to set the left and top position by code for this one as I do for other items. Is there a different manner for positioning it? Click to expand... Please start a new thread for a new question. Upvote 0
jemajuca said: I can resize the width an height of the text window (customlistview) but I can't find the manner to set the left and top position by code for this one as I do for other items. Is there a different manner for positioning it? Click to expand... Please start a new thread for a new question.