以文本方式查看主题

-  Foxtable(狐表)  (http://www.foxtable.com/bbs/index.asp)
--  专家坐堂  (http://www.foxtable.com/bbs/list.asp?boardid=2)
----  怎样在DrawCell里写表格的偶数行的背景色为红色  (http://www.foxtable.com/bbs/dispbbs.asp?boardid=2&id=178806)

--  作者:fvcfox
--  发布时间:2022/7/21 17:21:00
--  怎样在DrawCell里写表格的偶数行的背景色为红色
如题
--  作者:有点蓝
--  发布时间:2022/7/21 17:33:00
--  
比如
if (e.row.index mod 2) = 1 then


--  作者:fvcfox
--  发布时间:2022/7/22 8:32:00
--  
对,意思就是要交替行,这样就不用再写代码