Zhien Member Licensed User Dec 2, 2023 #1 I am having issues with displaying the label text when its added to the ScrollView. I basically generated a label, then added it to the scrollview memo, but it shows nothing on the screen. Any ideas? Dim lblMemo As Label lblMemo.Initialize(Me) lblMemo.Height = 2000dip lblMemo.TextColor = Colors.Black lblMemo.Text = "hello world!" ScrollView_Memo.Panel.AddView(lblMemo, 0dip, 0dip, ScrollView_Memo.Width, lblMemo.Height) Click to expand...
I am having issues with displaying the label text when its added to the ScrollView. I basically generated a label, then added it to the scrollview memo, but it shows nothing on the screen. Any ideas? Dim lblMemo As Label lblMemo.Initialize(Me) lblMemo.Height = 2000dip lblMemo.TextColor = Colors.Black lblMemo.Text = "hello world!" ScrollView_Memo.Panel.AddView(lblMemo, 0dip, 0dip, ScrollView_Memo.Width, lblMemo.Height) Click to expand...
Zhien Member Licensed User Dec 2, 2023 #2 I am able to resolve it with using TextView. I didn't know TextView can automatically scroll. Upvote 0
Erel B4X founder Staff member Licensed User Longtime User Dec 3, 2023 #3 Another option is to use CustomListView with AddText. Upvote 0