Rss & SiteMap

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

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

标题:有没有类似HideGrid()的功能?

1楼
ahljy351 发表于:2008/9/17 14:23:00
象易表中的HideGrid()函数,且能设置背景?
2楼
狐仙 发表于:2008/9/17 14:38:00

Visible行不行?

3楼
ahljy351 发表于:2008/9/17 14:48:00
楼上的请问怎么用?
4楼
狐仙 发表于:2008/9/17 14:59:00
Tables("表A").Visible = False
5楼
fangling 发表于:2008/9/17 15:03:00
For i as intege =0 to tables.count-1
   Tables(i).Visible = False
Next
6楼
ahljy351 发表于:2008/9/17 15:28:00
Tables("表A").Visible = False

这个无效

For i as intege =0 to tables.count-1
   Tables(i).Visible = False
Next
这个提示错误
7楼
shaof 发表于:2008/9/17 15:34:00
以下是引用ahljy351在2008-9-17 15:28:00的发言:
Tables("表A").Visible = False

这个无效

For i as intege =0 to tables.count-1
   Tables(i).Visible = False
Next
这个提示错误


你不会比我还菜吧?第一个如果说无效,说明你的项目中根本就不存在“表A”这个表,你可以修改代码中的表名。
第二个应该是

For Each 隐藏表 As Table in Tables
    隐藏表.Visible = False
Next

[此贴子已经被作者于2008-9-17 15:35:08编辑过]
8楼
ahljy351 发表于:2008/9/17 15:59:00
Tables("表A").Visible = False
(这个错误不会犯的)
Tables("单位").Visible = False (这是我改的)
9楼
shaof 发表于:2008/9/17 16:02:00
以下是引用ahljy351在2008-9-17 15:59:00的发言:
Tables("表A").Visible = False
(这个错误不会犯的)
Tables("单位").Visible = False (这是我改的)


如果表名称正确,代码百分百没问题。
不知你另一个错误会不会犯,表名称和表标题不一致,有时你看到的表名称并不一定是真正的表名。

[此贴子已经被作者于2008-9-17 16:02:25编辑过]
10楼
ahljy351 发表于:2008/9/17 16:03:00
For Each 隐藏表 As Table in Tables
    隐藏表.Visible = False
Next


依然无效。

隐藏表是不是要改成要隐藏的表名?
共22 条记录, 每页显示 10 条, 页签: [1] [2][3]

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

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