Hello,
I have a pb when i use more times the sub below, that create 3 panels inside a tabstrip which is included inside a ScrollView:
So i would like to clear or delete the tabstrip before creating it again
Without clearing it beforehand, when i use that sub again, i duplicate the 3 tabs but do not replace they !
please, how to do that ?
I have tried multiple functions like removeallviews etc ... but no way
Thanks
I have a pb when i use more times the sub below, that create 3 panels inside a tabstrip which is included inside a ScrollView:
So i would like to clear or delete the tabstrip before creating it again
Without clearing it beforehand, when i use that sub again, i duplicate the 3 tabs but do not replace they !
please, how to do that ?
I have tried multiple functions like removeallviews etc ... but no way
B4X:
Ts.LoadLayout("PanelSV", "DATA")
ScrollView1.Panel.LoadLayout("ProdPage1")
ScrollView1.Panel.Height = DHEIGHT * 1.3
Ts.LoadLayout("PanelSV", "IMAGES")
ScrollView1.Panel.LoadLayout("ProdPage2")
ScrollView1.Panel.Height = DHEIGHT * 1.3
Ts.LoadLayout("PanelSV", "SEO")
ScrollView1.Panel.LoadLayout("ProdPage3")
ScrollView1.Panel.Height = DHEIGHT * 1.3
Thanks