Tab not created

Any suggestion as to why in 5.2.1 this code does not create a tabbed panel with the 2nd tab? The first form is added but the 2nd is not tabbed.

	forms.frm_log.elements.tabs_200.removeAllTabs()
		forms.frm_log.elements.tabs_200.addTab(forms.frm_log_teacher,'tl_teachlog','Student Receipts',null,null,'#000000',' #BBCCEE');	
		forms.frm_log.elements.tabs_200.addTab(forms.frm_log_paypal,'tl_pplog','Paypal Credits',null,null,'#000000',' #BBCCEE');
		forms.frm_log.elements.tabs_200.tabIndex = 'tl_teachlog'

are you sure that the tabpanel shows the tabs? the property is not HIDE?