>>-aTabControl~AddSequence(--text1--,--text2--,--text3--,--...--)-><
The AddSequence method inserts a sequence of tabs in a tab control for which you can only specify the label text. The number of the tab inserted last is increased by 1.
The only argument is:
The label text for the inserted tab.
The number of the tab inserted last, or -1 for all other cases.
The following example inserts three tabs in a tab control:
::method InitDialog
InitDlgRet = self~InitDialog:super
curTab = self~GetTabControl("ID_TAB")
if curTab \= .Nil then do
curTab~AddSequence("First Tab","Second Tab","Third Tab")
end
return InitDlgRet