vhd_bgh Member May 10, 2020 #1 I created a CustomListView, contain a label in left side. Now.. how can i change the text of a label after creating views? (for example changing "Hello5" to "hi5")
I created a CustomListView, contain a label in left side. Now.. how can i change the text of a label after creating views? (for example changing "Hello5" to "hi5")
Erel B4X founder Staff member Licensed User Longtime User May 11, 2020 #2 It is explained in the video tutorial and in the example: https://www.b4x.com/android/forum/t...-cross-platform-customlistview.84501/#content B4X: CLV.GetPanel(5).GetView(0).Text = "hi5" 'assuming that the left label is the first child view in the items layout. Upvote 0
It is explained in the video tutorial and in the example: https://www.b4x.com/android/forum/t...-cross-platform-customlistview.84501/#content B4X: CLV.GetPanel(5).GetView(0).Text = "hi5" 'assuming that the left label is the first child view in the items layout.
vhd_bgh Member May 11, 2020 #3 Thanks Erel But... How can I understand that it's the first child view in the items layout, who gets "0" index ? Upvote 0
Thanks Erel But... How can I understand that it's the first child view in the items layout, who gets "0" index ?
Erel B4X founder Staff member Licensed User Longtime User May 11, 2020 #4 Watch the video tutorial. It explains it. Upvote 0