Content:
- Methods

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.

tab = app.CreateTabs( list, width, height, options ) → app object: Tabs

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

Example - Basic click to expand contents 

Methods

The following methods are available on the Tabs object:

Focus()
GetAbsHeight() → Number: integer
GetAbsWidth() → Number: integer
GetCurrentTabName() → String
GetHeight( options ) → Number
GetLayout( name ) → app object: Layout
GetLeft( options ) → Number
GetParent() → app object
GetPosition( options ) → Object: { left, top, width, height }
GetTop( options ) → Number
GetType() → String: “Tabs”
GetVisibility() → String: “Show” or “Hide” or “Gone”
GetWidth( options ) → Number
Gone()
Hide()
IsEnabled() → Boolean
IsOverlap( obj, depth ) → Boolean
IsVisible() → Boolean
Method( name, types, p1, p2, p3, p4 ) → all types
     parent.AddTab( name )
SetScale( x, y )
Show()