以文本方式查看主题

-  Foxtable(狐表)  (http://www.foxtable.com/bbs/index.asp)
--  专家坐堂  (http://www.foxtable.com/bbs/list.asp?boardid=2)
----  用代码设置特定行的行高  (http://www.foxtable.com/bbs/dispbbs.asp?boardid=2&id=159176)

--  作者:hopestarxia
--  发布时间:2020/12/15 23:41:00
--  用代码设置特定行的行高
老师,窗口中是SQL查询表,如何用代码,设置某些特点行的行点,例如某行某例值等于某个固定值时,该行行高是其他行高的2倍。
--  作者:有点蓝
--  发布时间:2020/12/16 8:29:00
--  
例如

If Tables("表A").Current("区域") = "北京" Then
    Tables("表A").grid.Rows(Tables("表A").Current.Index+1).height = 42
End If

--  作者:hopestarxia
--  发布时间:2020/12/17 12:40:00
--  
谢谢老师!