以文本方式查看主题

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

--  作者:bzqlyj
--  发布时间:2021/4/16 16:05:00
--  单元格着色
如果在表A中,如何达到这效果。
图片点击可在新窗口打开查看此主题相关图片如下:73xymn4utobmc0zcet3ww22.png
图片点击可在新窗口打开查看
前列不等于后列,后列单元格着色

--  作者:有点蓝
--  发布时间:2021/4/16 16:23:00
--  
drawcell事件:http://www.foxtable.com/webhelp/topics/0656.htm

if e.col.index > 0 andalso e.row.isnull(e.col.name) = false then
if e.row(e.col.index) <> e.row(e.col.index - 1) then
e.style = "样式1"
end if
end if