以文本方式查看主题

-  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=130221)

--  作者:13861676007
--  发布时间:2019/1/16 11:15:00
--  表的颜色设置问题
请教老师:我想将表的字改为红色,下列代码为何不管用?
For Each dr4 As DataRow In DataTables("科目余额表").DataRows
     dr4.DataTable.SysStyles("CurrentRow").ForeColor = Color.red
next

--  作者:有点甜
--  发布时间:2019/1/16 11:57:00
--  

参考

 

DataTables("科目余额表").SysStyles("CurrentRow").ForeColor = Color.red


--  作者:13861676007
--  发布时间:2019/1/16 13:45:00
--  
老师,改过输入后,还是没反映
--  作者:有点甜
--  发布时间:2019/1/16 15:06:00
--  

这个意思?

 

Tables("表A").ForeColor = Color.red