angel_ Well-Known Member Licensed User Longtime User Sep 13, 2022 #1 I add the SKTab from the abstract designer but I can't add a layout and show/hide views, would it be possible to upload a small example?
I add the SKTab from the abstract designer but I can't add a layout and show/hide views, would it be possible to upload a small example?
Solution alwaysbusy Sep 14, 2022 You just Add the SKTabs in the Abstract Designer, set the Tabs property e.g. 'Tab1;Tab2;Tab3' (has to be set here!) Then you make your Layouts for each tab and load them with: B4X: SKTabs2.GetTabContents(0).LoadLayout("Tab1Contents") SKTabs2.GetTabContents(1).LoadLayout("Tab2Contents") SKTabs2.GetTabContents(2).LoadLayout("Tab3Contents") Alwaysbusy
You just Add the SKTabs in the Abstract Designer, set the Tabs property e.g. 'Tab1;Tab2;Tab3' (has to be set here!) Then you make your Layouts for each tab and load them with: B4X: SKTabs2.GetTabContents(0).LoadLayout("Tab1Contents") SKTabs2.GetTabContents(1).LoadLayout("Tab2Contents") SKTabs2.GetTabContents(2).LoadLayout("Tab3Contents") Alwaysbusy
alwaysbusy Expert Licensed User Longtime User Sep 14, 2022 #2 You just Add the SKTabs in the Abstract Designer, set the Tabs property e.g. 'Tab1;Tab2;Tab3' (has to be set here!) Then you make your Layouts for each tab and load them with: B4X: SKTabs2.GetTabContents(0).LoadLayout("Tab1Contents") SKTabs2.GetTabContents(1).LoadLayout("Tab2Contents") SKTabs2.GetTabContents(2).LoadLayout("Tab3Contents") Alwaysbusy Upvote 0 Solution
You just Add the SKTabs in the Abstract Designer, set the Tabs property e.g. 'Tab1;Tab2;Tab3' (has to be set here!) Then you make your Layouts for each tab and load them with: B4X: SKTabs2.GetTabContents(0).LoadLayout("Tab1Contents") SKTabs2.GetTabContents(1).LoadLayout("Tab2Contents") SKTabs2.GetTabContents(2).LoadLayout("Tab3Contents") Alwaysbusy
angel_ Well-Known Member Licensed User Longtime User Sep 14, 2022 #3 Thank you very much, very simple (now) Upvote 0