以文本方式查看主题 - Foxtable(狐表) (http://foxtable.com/bbs/index.asp) -- 专家坐堂 (http://foxtable.com/bbs/list.asp?boardid=2) ---- 设置子表对应行的颜色 (http://foxtable.com/bbs/dispbbs.asp?boardid=2&id=146470) |
-- 作者:tld -- 发布时间:2020/2/24 17:03:00 -- 设置子表对应行的颜色 老师好。点击主表的某一行,可以通过GetChildRows找到子表对应的子行。我希望设置子行的颜色。但style只对row有效,通过GetChildRows或select找出的是datarow。我改如何处理?谢谢! |
-- 作者:有点蓝 -- 发布时间:2020/2/24 17:22:00 -- 子表drawcell事件 if tables("父表").current isnot nothing andalso tables("父表").current("编号") = e.row("编号") then e.style = "样式1" endif
|