读书人

Column Background.解决方案

发布时间: 2012-12-31 11:57:52 作者: rapoo

Column Background....
各位大大您好
在位中 BackGround 性入 if(getrow()=currentrow(),rgb(255,255,0),rgb(192,192,192))
可以想要的果

可是改在 DW Event 中 就法
string ls_color
ls_color="if(getrow()=currentrow(),rgb(255,255,0),rgb(192,192,192))"
dw.Modify("column.Background.Color='" + ls_color + "'")

以上例法 教大大法上是不是有 需要改...

[解决办法]
string ls_color
ls_color="0~tif(getrow()=currentrow(),rgb(255,255,0),rgb(192,192,192))"
dw.Modify("column.Background.Color='" + ls_color + "'")
[解决办法]

引用:
引用:
string ls_color
ls_color="0~tif(getrow()=currentrow(),rgb(255,255,0),rgb(192,192,192))"
dw.Modify("column.Background.Color='" + ls_color + "'")



学习了

弱弱的问一句 加 0~t 表示什么意思……

貌似有IF 条件判断的就是需要加入0~t, 这里的0~t 应该就是一定义要求。

读书人网 >PB

热点推荐