![]() |
![]() |
| 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 |
|
#5
|
|||
|
|||
|
COlorear DBGridColumn
Prueba lo siguiente
if DataCol = 0 then //Index de la columna que quieres colorear begin DBGrid1.Canvas.Brush.Color := clBlue; //Color de fondo FillRect(DBGrid1.Canvas.Handle, Rect, DBGrid1.Canvas.Brush.Handle); DBGrid1.Canvas.Font.Color := clRed; //Color de fuente DBGrid1.Canvas.TextOut(Rect.left + 2, Rect.top + 2, Column.Field.AsString); end; |
| Herramientas | Buscar en Tema |
| Desplegado | |
|
|
|