Returns the number of tabs.
function GetTabCount;
//Create 10 tabs for var i:=0 to 9 do CreateTab; //Get the number of tabs var tabcount:=GetTabCount; Log(inttostr(tabcount));