J joneden Active Member Licensed User Longtime User Sep 28, 2012 #1 Having created a tab that has a layout on it as below, uxTabHost.AddTab("LIST", "LayoutList") I now want to be able to add a set of buttons to the tab. Is there a way to add them without having a placeholder panel in each tab layout? Regards, Jon
Having created a tab that has a layout on it as below, uxTabHost.AddTab("LIST", "LayoutList") I now want to be able to add a set of buttons to the tab. Is there a way to add them without having a placeholder panel in each tab layout? Regards, Jon
Erel B4X founder Staff member Licensed User Longtime User Sep 28, 2012 #2 You should use AddTab2 and add a panel instead. Use Panel.LoadLayout to load the layout. You will then be able to add views to this panel. Upvote 0
You should use AddTab2 and add a panel instead. Use Panel.LoadLayout to load the layout. You will then be able to add views to this panel.
J joneden Active Member Licensed User Longtime User Sep 28, 2012 #3 Hi Erel, Thanks for that. One method I predefine a panel in a layout then I can work with that, in the other I add the layout to a panel and work from that Is there any compelling reason to go one way or another? Regards, Jon Upvote 0
Hi Erel, Thanks for that. One method I predefine a panel in a layout then I can work with that, in the other I add the layout to a panel and work from that Is there any compelling reason to go one way or another? Regards, Jon
Erel B4X founder Staff member Licensed User Longtime User Sep 28, 2012 #4 Both options are good. Upvote 0
J joneden Active Member Licensed User Longtime User Sep 28, 2012 #5 Thanks for the advice Erel Upvote 0