procedure TForm1.wwDBGrid1CalcCellColors(Sender: TObject; Field: TField;
State: TGridDrawState; Highlight: Boolean; AFont: TFont; ABrush: TBrush);
begin
if field.FieldNo=2 then
begin
ABrush.Color := clRed;
AFont.Color := clBlack;
end;
end;
State: TGridDrawState; Highlight: Boolean; AFont: TFont; ABrush: TBrush);
begin
if field.FieldNo=2 then
begin
ABrush.Color := clRed;
AFont.Color := clBlack;
end;
end;
解决方案 »
免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货