隐藏,如
Dim tabc_1 As WinForm.TabControl = Forms("主窗口").Controls("TabControl1")For Each p As WinForm.TabPage In tabc_1.TabPages p.visible = FalseNext