怎么移动后当前行后让它高亮显示;
就是上一行或下一行。。。。
那一行就亮起来
------解决方案--------------------
换个颜色就是了.
------解决方案--------------------
在属性里面写,if getrow()....rgb(XXX,XXX,XXX)
------解决方案--------------------
row行高亮!
dw_1.SelectRow(row, TRUE)
------解决方案--------------------
long ll_row
if dw_1.rowcount()>0 then
ll_row=dw_1.getrow( )
dw_1.SelectRow(ll_row, false)
dw_1.ScrollNextRow()
ll_row=dw_1.getrow( )
dw_1.SelectRow(ll_row, TRUE)
end if
------解决方案--------------------
- C# code
if KeyDown(KeyUpArrow!) then dw_1.ScrollPriorRow() dw_1.selectrow(0, false)elseif KeyDown(KeyDownArrow!) then dw_1.this.ScrollNextRow() dw_1.selectrow(0, false)end ifdw_1.SelectRow(dw_1.getrow(), TRUE)
------解决方案--------------------
那就不用写了,只要在rowfocuschanged里写
this.selectrow(0,false)
this.selectrow(currentrow,true)
------解决方案--------------------
this.selectrow(this.getrow(),true)