![]() |
![]() |
| Paypal | FTP | CCD | Buscar | Trucos | Trabajo | Foros |
|
|||||||
| Registrarse | FAQ | Miembros | Calendario | Guía de estilo | Buscar | Temas de Hoy | Marcar Foros Como Leídos |
|
|
Herramientas | Buscar en Tema | Desplegado |
|
#3
|
|||
|
|||
|
Esto es lo que hago:
if not (gdSelected in State) then begin if Odd(Table1.RecNo) then DBGrid1.Canvas.Brush.Color := TColor($00FEE2E8); DBGrid1.DefaultDrawColumnCell(Rect, DataCol, Column, State); end else begin DBGrid1.Canvas.Brush.Color := TColor($0080FF00); if DBGrid1.Columns[DataCol].Index=0 then begin DBGrid1.Canvas.FillRect(Rect); ImageList1.Draw(dbgrid1.Canvas,Rect.Left+4,Rect.Top,0,True); end; end; DBGrid1.DefaultDrawColumnCell(Rect, DataCol, Column, State); |
| Herramientas | Buscar en Tema |
| Desplegado | |
|
|
|