B4J Question [BANano] How to use SKTabs (solved)

angel_

Well-Known Member
Licensed User
Longtime User
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
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
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
Top