Rss & SiteMap

Foxtable(狐表) http://www.foxtable.com

新一代数据库软件,完美融合Access、Foxpro、Excel、vb.net之优势,人人都能掌握的快速软件开发工具!
共3 条记录, 每页显示 10 条, 页签: [1]
[浏览完整版]

标题:代码求助

1楼
bm 发表于:2011/11/2 17:32:00

Dim tab As WinForm.TabControl = e.Form.Controls("TabControl1")
tab
.SelectedIndex = 1

 

请问这一段代码在菜单里,怎么实现

2楼
狐狸爸爸 发表于:2011/11/2 17:37:00

If Forms("窗口名").Opened then

    Dim tab As WinForm.TabControl = Forms("窗口名").Controls("TabControl1")
    tab
.SelectedIndex = 1

End If

3楼
bm 发表于:2011/11/2 17:40:00
刚才没有写

If Forms("窗口名").Opened then

  谢谢狐狸爸爸,

共3 条记录, 每页显示 10 条, 页签: [1]

Copyright © 2000 - 2018 foxtable.com Tel: 4000-810-820 粤ICP备11091905号

Powered By Dvbbs Version 8.3.0
Processed in .02344 s, 2 queries.