ls_return = this.modify( &
"create text(band=header alignment='0' text='6' border='6' color='16776960'" + &
" x='"+string(ll_newx)+"' y='0' height='" +string(ll_height)+ "' width='50'" + &
" name= " + ll_colname +"_filter_" + string(ll_col , '00') + &
" font.face='Webdings' font.height='-10'" + &
" font.weight='400' font.family='1' font.pitch='2'" + &
" font.charset='2' background.mode='1' background.color='12639424')")
我用上面的代码要在DW的header区每列的尾部建立个50宽的TEXT控件,可实际建立出来的TEXT覆盖整个列了
请各位大侠帮忙看看是啥原因!PB9.0的 DW是GRID风格的
------解决方案--------------------
反了,你那个22333明显是Units才对吧,应当是UnitsToPixels才对。我得去开会了,暂时要离开机器了,你先试下吧。