Added visible flag for formtabs and paneltabs