引子:
anny2010.11.23-24
code:
Integer col;
String w_condition,mod_string,colname
Long default_color,color1,color2
default_color = 536870912
col = 1
color1 = 128
color2 = 255
colname = 'd'
w_condition = "b =~'"+'bb'+"~'"
//mod_string = "#1.color=~"536870912~tif( b =~'bb~',128,255)~""
//修改color属性
//mod_string = "#"+String(col)+".color=~""+String(default_color)+"~tif( "+w_condition+","+&
// String(color1)+","+String(color2)+")~""
//修改background.color属性
mod_string = colname+".Background.color=~""+String(default_color)+"~tif( "+w_condition+","+&
String(color1)+","+String(color2)+")~""
dw_1.Modify(mod_string)
阅读(4185) | 评论(2) | 转发(0) |