TabControl控件怎么这么不好用??
我想根据不同的按钮来显示不同的TABPAGES,下面的写法错了吗?可怎么有的时候管用,有的时候不管用啊?
Select Case index
Case 0
Me.TabControl1.TabPages(0).Visible = True
Case 1
Me.TabControl1.TabPages(2).Visible = True
Case 2
Me.TabControl1.TabPages(3).Visible = True
Case 3
Me.TabControl1.TabPages(1).Visible = True
End Select