用vb制作选项卡窗口
1、画出两个同样大小紧挨着的command
2、画出两个同样大小的frame,并在frame各自加上一个label,拖动frame至tab1与tab2的边缘,这时frame1与frame2重合
3、编写简单的代码
Private Sub Command1_Click()
Frame1.Visible = True
Frame2.Visible = False
End Sub
Private Sub Command2_Click()
Frame2.Visible = True
Frame1.Visible = False
End Sub
4、分别点击tab1和tab2的效果
声明:本网站引用、摘录或转载内容仅供网站访问者交流或参考,不代表本站立场,如存在版权或非法内容,请联系站长删除,联系邮箱:site.kefu@qq.com。
阅读量:173
阅读量:132
阅读量:160
阅读量:100
阅读量:77