tabstrip真不好用,一会儿好,一会儿坏,高手帮忙! 可以用sstab控件啊,比tabstrip控件好用 解决方案 » 免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货 用ZOrder:Private Sub tsTabStrip_Click() tsTabStrip.ZOrder 2 Select Case tsTabStrip.SelectedItem.Key Case "UnDisposeTask" Frame1.Visible = True Frame1.ZOrder 0 'dgdatagrid.Visible = True Frame2.Visible = False 'Frame3.Visible = False Case "TaskContent" Frame2.Visible = True Frame1.ZOrder 0 Frame1.Visible = False 'Frame3.Visible = False 'dgdatagrid.Visible = False Case "TaskStream" 'Frame3.Visible = False Frame2.Visible = True Frame1.ZOrder 0 Frame1.Visible = False 'dgdatagrid.Visible = False End SelectEnd Sub 对,zorder的作用就是排列控件的顺序 zorder的中文名就是z 顺序 我觉的还是用sstab好些!好控制多了,而且不要用到那么多的frame Sorry,后两个Case是 Frame2.ZOrder 0 求问关于VB里的坐标转换以及设置如何保存 读取第n个字节到两个变量 关于访问网路数据库登陆的问题???来者有分 请教关于VB6.0调用IE的问题 cdate,cstr,cint是什么函数啊? VB如何用CommonDialog自由指定保存文件的路径和文件名 怎么在问题里附上图片 50分全送,怎样改变Toolbar的高度和宽度,以及让按钮上字居中? 需求分析文档(非模版)与rational rose开发的项目文档 还是想请问关于注册对象的问题(31分:封顶了) 返回一个字符串中的某个字符的位置用那个函数? 有没有上网浏览时手状的ICO?
tsTabStrip.ZOrder 2
Select Case tsTabStrip.SelectedItem.Key
Case "UnDisposeTask"
Frame1.Visible = True
Frame1.ZOrder 0 'dgdatagrid.Visible = True
Frame2.Visible = False
'Frame3.Visible = False
Case "TaskContent"
Frame2.Visible = True
Frame1.ZOrder 0 Frame1.Visible = False
'Frame3.Visible = False
'dgdatagrid.Visible = False
Case "TaskStream"
'Frame3.Visible = False
Frame2.Visible = True
Frame1.ZOrder 0 Frame1.Visible = False
'dgdatagrid.Visible = False
End Select
End Sub