默认DBGRID选中行的颜色为深蓝色,可以在程序中改变
在DBGRID的OnDrawColumnCell中写入
if (State=[gdSelectd..gdFocused,gdCurrent]) then
begin
Grid.Canvas.Font.Color :=clRed;
Grid.Canvas.Font.Brush.Color :=clInfor;
Grid.DefaultDrawColumnCell(Rect,DataCol,Column,State);
end;
默认DBGRID选中行的颜色为深蓝色,可以在程序中改变
在DBGRID的OnDrawColumnCell中写入
if (State=[gdSelectd..gdFocused,gdCurrent]) then
begin
Grid.Canvas.Font.Color :=clRed;
Grid.Canvas.Font.Brush.Color :=clInfor;
Grid.DefaultDrawColumnCell(Rect,DataCol,Column,State);
end;
任务栏图标修改
颜色表大全 颜色代码 设计配色表 网页配色表-.5tu.cnhttps://. ...
举报文章
请选择举报类型
补充说明
0/200
上传截图
格式支持JPEG/PNG/JPG,图片不超过1.9M