哪位有带斑马线,财务金额线的ehlib,多谢![email protected]
或告诉我下载地址!

解决方案 »

  1.   


    ehlib的斑马线是用代码完成的。
    在OnDrawColumnCell事件中加入:    if ado.RecNo mod 2 = 1 then
            dg.Canvas.Brush.Color := $EFEFEF
        else
            dg.Canvas.Brush.Color := $FFFFFF;
        If ((State = [gdSelected]) or (State=[gdSelected, gdFocused])) then
            If Not dg.SelectedRows.CurrentRowSelected then
                dg.Canvas.Brush.Color:=clTeal;
        dg.DefaultDrawColumnCell(Rect, DataCol, Column, State);