unidbgrid 设置 单元格颜色
2018年10月24日 11:32:41 ozhy111 阅读数:68
procedure TF_Resource2.UniDBGrid1DrawColumnCell(Sender: TObject; ACol,
ARow: Integer; Column: TUniDBGridColumn; Attribs: TUniCellAttribs);
begin
if Column.FieldName=‘zt‘ then
begin
if Column.Field.AsString=‘通过‘ then
begin
Attribs.Font.Color:=clGreen;
end;
end ;
end;
原文地址:https://www.cnblogs.com/westsoft/p/10360312.html
时间: 2024-11-08 01:23:24