Hi, i think i have found a bug with TabHost.AddTab2() function.
i have 6 panel and 1 TabHost. I do that :
It's Work great before Version 1.50 of B4A. Since 1.50, When Code passed on the first ligne "AddTab2", the associate panel = "N/A" ( i saw that with Debug mode)
ex : Before this line :
"pnl_Visite" = (BALayout) , Left = ..., Top = ...
After the line :
"pnl_Visite" = "N/A"
?????????????
i have 6 panel and 1 TabHost. I do that :
B4X:
pnl_Visite.LoadLayout("pnlVisite_Visite.bal")
pnl_Devenir.LoadLayout("pnlVisite_Devenir.bal")
pnl_Decouverte.LoadLayout("pnlVisite_Decouverte.bal")
pnl_PresProd.LoadLayout("pnlVisite_PresentationProduit.bal")
pnl_Historique.LoadLayout("pnlVisite_Historique.bal")
pnl_Commentaire.LoadLayout("pnlVisite_Commentaires.bal")
tbh_Visite.AddTab2("Visite",pnl_Visite)
tbh_Visite.AddTab2("Devenir",pnl_Devenir)
tbh_Visite.AddTab2("Decouverte",pnl_Decouverte)
tbh_Visite.AddTab2("PresentationProduit",pnl_PresProd)
tbh_Visite.AddTab2("Historique",pnl_Historique)
tbh_Visite.AddTab2("Commentaires",pnl_Commentaire)
It's Work great before Version 1.50 of B4A. Since 1.50, When Code passed on the first ligne "AddTab2", the associate panel = "N/A" ( i saw that with Debug mode)
ex : Before this line :
B4X:
tbh_Visite.AddTab2("Visite",pnl_Visite)
"pnl_Visite" = (BALayout) , Left = ..., Top = ...
After the line :
"pnl_Visite" = "N/A"
?????????????
Last edited: