procedure TForm1.DBGrid1DrawColumnCell(Sender: TObject; const Rect: TRect;
DataCol: Integer; Column: TColumn; State: TGridDrawState);
var
s:String;
begin
TDBGrid(Sender).DefaultDrawColumnCell(Rect,DataCol,Column,State);
s:=Column.Field.DisplayText;
if (Column.FieldName='FAX') and (Length(s)10) then
begin
with TDBGrid(Sender).Canvas do
begin
Pen.Color :=clRed;
Arc(Rect.Left,Rect.Top,Rect.Right,Rect.Bottom,Rect.Left,Rect.Top,Rect.Left,Rect.Top);