N Nyptop Active Member Licensed User Longtime User Dec 7, 2011 #1 Hi, I can set the background of the main file progmatimcally with a tabhost fine. However, how could I set the background of another layout file progmatically. Thanks
Hi, I can set the background of the main file progmatimcally with a tabhost fine. However, how could I set the background of another layout file progmatically. Thanks
Erel B4X founder Staff member Licensed User Longtime User Dec 8, 2011 #2 You should create a Panel and add it with TabHost.AddTab2. You will then be able to load the layout to the panel with Panel.LoadLayout and to change the Panel's background programmatically. Upvote 0
You should create a Panel and add it with TabHost.AddTab2. You will then be able to load the layout to the panel with Panel.LoadLayout and to change the Panel's background programmatically.