Introduction
Features
Command Reference
Tutorials
Examples

Colour Schemes
Extras

Online
 Command
TabPage( [Caption$][, Icon] )

 Parameters
Caption$ - The text that appears in the tab page
Icon - Optional icon that appears in the center of the tab page.

 Description
Adds a tab page using the specified caption and/or icon. You need to create a tab before using this command or it won't work. Tab Pages are used to group controls into different pages, and only the controls that belong to the active page are visible.

 Example
Graphics 640, 480, 16, 2
SetBuffer BackBuffer( )

Include "blitzui.bb"
Initialise( )

mywindow = Window( 20, 20, 200, 150, "My Window" )
mytab = Tab( 4, 4, 188, 116 )
mytabpage1 = TabPage( "Tab 1" )
mylabel = Label( 10, 30, "First Label" )
mytabpage2 = TabPage( "Tab 2" )
mylabel2 = Label( 10, 30, "Second Label" )
CloseTab( )

Repeat
    UpdateGUI( )
    DrawMouse( )

    Flip
    Cls
Until KeyHit( 1 )
Destroy( )
End