如何能用类似dw_control.Object.objectname.Font.property的语句实现这一功能
我用了dw_1.object.man_name[i].text.color=rgb(255,0,0)结果报错Error accessing external object property
------解决方案--------------------
for ll_i = 1 to j
ldt_begin_date = dw_1.getitemdatetime(i,'begin_date')
ldt_end_date = dw_1.getitemdatetime(i,'end_date')
if ldt_begin_date < 上班时间 then
dw_1.modify(begin_date[i]+".color='"+String(rgb(255,0,0))+"'")
end if
if ldt_end_date > 下班时间 then
dw_1.modify(end_date[i]+".color='"+String(rgb(255,0,0))+"'")
end if
next
------解决方案--------------------
------解决方案--------------------