Ver Mensaje Individual
  #4  
Antiguo 17-07-2007
loxod loxod is offline
Miembro
 
Registrado: feb 2007
Ubicación: Mexico
Posts: 45
Reputación: 0
loxod Va por buen camino
Pues en lo mismo, solo tienes que agregar un par de lineas mas:

Código Delphi [-]
procedure TForm1.DBGrid1DrawColumnCell(Sender: TObject; const Rect: TRect;
  DataCol: Integer; Column: TColumn; State: TGridDrawState);
begin
   If (gdFocused in State) then
     begin
        dbgrid1.canvas.brush.color := clYellow;
        dbgrid1.Canvas.Font.Size := 10;
        dbgrid1.Canvas.Font.Style := [fsBold]
     end;

    dbgrid1.DefaultDrawColumnCell(rect,DataCol,Column,State)
end;
Responder Con Cita