Tabs are useful if you have multiple subsections in your app. The user can then press the title of a tab and the control will automatically switch to the corresponding layout.
To add children to a tab layout you have to retreive it first (because they were already created by the control):
var layTab1 = tab.GetLayout( "TabName1" );
Then you canuse it as every normal
layout control
Methods
The following methods are available on the Tabs object:
Batch(
properties )
Focus()
GetAbsHeight() → Number: integer
GetAbsWidth() → Number: integer
GetCurrentTabName() → String
GetParent() → app object
GetType() → String: “Tabs”
Gone()
Hide()
IsEnabled() → Boolean
IsVisible() → Boolean
SetEnabled(
enable )
Show()