在数据窗口控件中以pbm_dwnmousemove为event id自定义事件ue_mousemove
然后加上下面语句
if row>0 then
string ls_synax
this.setrow(row)
ls_synax= '"435435435~tif( getrow()='+string(row)+' ,rgb(223,231,255),RGB(255,255,255))"'
this.Modify("DataWindow.Detail.Color="+ls_synax)
end if