The Qt documentation in C++ of this class can be read here: http://doc.trolltech.com/4.3/qtabwidget.html
Whenever you use Index, KBasic checks if Index is greater equal 1 and smaller equal Len(). If not, the command will not be executed. First element has got Index = 1.
Tab controls must NOT be inside other tab controls. Some other speciallity is that it is not possible to move or resize tab controls yet.
Most important
Please read the control class overview Control as well.
This control cannot be created on the fly.
Sub Select(Index As Integer)
First item is index = 1.
Function Selected() As Integer
First item is index = 1.
Sub SetTabEnabled(Index As Integer, Enable As Boolean)
Function IsTabEnabled(Index As Integer) As Boolean
Sub SetToolTip(Index As Integer, ToolTip As String)
Function ToolTip(Index As Integer) As String
Sub SetWhatsThis(Index As Integer, ToolTip As String)
Function WhatsThis(Index As Integer) As String
Sub SetCaption(Index As Integer, Caption As String)
Function Caption(Index As Integer) As String
Sub SetIcon(Index As Integer, Icon As String)
Function Append(Icon As String, Caption As String) As Integer
This procedure ouhgt to be used for tab bars only.
Function Insert(Index As Integer, Icon As String, Caption As String) As Integer
This procedure ouhgt to be used for tab bars only.
Sub Remove(Index As Integer)
This procedure ouhgt to be used for tab bars only.
Function Length() As Integer
ReadOnly Pages As String
Normally, you do not use this property. It is used by KBasic to organize your tab control.
Sub OnEvent(Index As Integer)
This event is raised, when the current tab index is changed.