老师,窗口所有表自动行高怎么写?
For Each c As WinForm.Table In e.Form.Controls
c.AutoSizeHeaderRow()
Next
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
t.table.AutoSizeHeaderRow