Hello,
I have a tabhost with 6 Layoutfiles.
Two of them has the same name (in this case: Page_2)
But only the second tab with "Page 2" will be shown.
The first tab with Page_2 is empty.
The reason I need two identical Layoutfiles (Page_2) is that there are many views (150) in it.
With the next code I can make some views visible/invisible
Is there a way to use 2 identical Layoutfiles without copy all views and put them in a new file with another name?
I have a tabhost with 6 Layoutfiles.
Two of them has the same name (in this case: Page_2)
But only the second tab with "Page 2" will be shown.
The first tab with Page_2 is empty.
Tabhost code:
TabHost1.AddTabWithIcon ("", bmp1a, bmp1, "Page_1")
TabHost1.AddTabWithIcon ("", bmp5a, bmp5, "Page_2")
TabHost1.AddTabWithIcon ("", bmp6a, bmp6, "Page_2")
TabHost1.AddTabWithIcon ("", bmp2a, bmp2, "Page_3")
TabHost1.AddTabWithIcon ("", bmp4a, bmp4, "Page_4")
TabHost1.AddTabWithIcon ("" , bmp3a, bmp3, "Page_5")
The reason I need two identical Layoutfiles (Page_2) is that there are many views (150) in it.
With the next code I can make some views visible/invisible
TabHost1_TabChanged:
sub TabHost1_TabChanged
Select Case TabHost1.CurrentTab
Case 0
Case 1, 2
'my code to to make some views visible/invisible
end select
end sub
Is there a way to use 2 identical Layoutfiles without copy all views and put them in a new file with another name?