![]() |
![]() |
| 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 |
|
#11
|
|||
|
|||
|
Aca lo encontre....
procedure TFVisor.DBGrid1DrawColumnCell(Sender: TObject; const Rect: TRect; DataCol: Integer; Column: TColumn; State: TGridDrawState); var i:integer; begin if ((Column.Field.Dataset.FieldbyName('Prestado').AsBoolean)=True) then dbgrid1.canvas.Font.color := clRed; if ((DataModule1.QVisor.RecNo mod 2)=0)then begin if (gdselected in State)then begin dbgrid1.canvas.brush.color := clActiveCaption; end else dbgrid1.canvas.brush.color := clSilver; end; dbgrid1.DefaultDrawColumnCell(rect,DataCol,Column,State); |
| Herramientas | Buscar en Tema |
| Desplegado | |
|
|
Temas Similares
|
||||
| Tema | Autor | Foro | Respuestas | Último mensaje |
| Pintar filas del TstringGrid | Gagiel | Varios | 2 | 16-03-2007 10:46:59 |
| problemas al pintar filas con cxGrid v5 | DANY | OOP | 1 | 29-11-2006 03:02:14 |
| Pintar filas de un Listview | Coco_jac | Varios | 4 | 14-07-2006 15:46:18 |
| Pintar filas DbGrid | lunatiko | Varios | 5 | 05-07-2005 15:11:51 |
| pintar filas de un dbgrid | febito | Varios | 1 | 01-04-2004 16:50:20 |
|