P PhilNewbie Member Jul 12, 2021 #1 What is the best way to create and update a label / text field which will be scrollable when its contents are larger than the screen? Can you point me at some example code. I've tried the CustomListView and while I can successfully add a single item which scrolls nicely I can't work out how to replace the existing text with new text. Given that this is such a fundamental requirement I'm sure that the answer is simple but I can't fathom it. Thanks Phil
What is the best way to create and update a label / text field which will be scrollable when its contents are larger than the screen? Can you point me at some example code. I've tried the CustomListView and while I can successfully add a single item which scrolls nicely I can't work out how to replace the existing text with new text. Given that this is such a fundamental requirement I'm sure that the answer is simple but I can't fathom it. Thanks Phil
Erel B4X founder Staff member Licensed User Longtime User Jul 12, 2021 #2 There are several options. CLV is a good one. Just call CLV.Clear and add a new text item. If you want to show rich text then use BBCodeView. Upvote 0
There are several options. CLV is a good one. Just call CLV.Clear and add a new text item. If you want to show rich text then use BBCodeView.
P PhilNewbie Member Jul 12, 2021 #3 If i have multiple items in the list how would I update the text for a specific one? Upvote 0
Erel B4X founder Staff member Licensed User Longtime User Jul 13, 2021 #4 CLV.RemoveAt(7) CLV.InsertAtTextItem(7, Upvote 0