Rss & SiteMap

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

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

标题:窗口所有表自动行高

1楼
1234567 发表于:2023/11/11 16:38:00
老师,窗口所有表自动行高怎么写?
For Each c As WinForm.Table In e.Form.Controls 
c.AutoSizeHeaderRow()
Next
2楼
有点蓝 发表于:2023/11/11 16:40:00
http://www.foxtable.com/webhelp/topics/1849.htm

For Each c As WinForm.Control In e.Form.Controls
    If
 Typeof c Is 
WinForm.Table Then '判断控件是否是文本框
        
Dim t As 
WinForm.Table = c '使用特定类型的变量引用控件
        t.
AutoSizeHeaderRow
    End
 If
Next
3楼
1234567 发表于:2023/11/11 19:42:00
图片点击可在新窗口打开查看
4楼
有点蓝 发表于:2023/11/12 20:04:00
t.table.AutoSizeHeaderRow
共4 条记录, 每页显示 10 条, 页签: [1]

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

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