可以这样:
在 private 中声明
prRect: TRect;
prDraw: Boolean;
后在OnSelectCell中
if (ACol=3) then //在第四列
begin
prRect:=DrawGrid1.CellRect(ACol,ARow);
prDraw:=True;
end else prDraw:=False;
在OnDrawCell中
procedure TForm1.DrawGrid1DrawCell(Sender: TObject; ACol, ARow: Integer;
Rect: TRect; State: TGridDrawState);
var oldColor: TColor;
begin
with DrawGrid1.Canvas do
begin
oldColor:=Brush.Color;
if prDraw then
begin
Brush.Color:=clRed;
Ellipse(prRect);
Brush.Color:=oldColor;
end;
end;
end;
即可.