DBGridEh1.DrawColumnCell //选择整行变色
DBGridEh1.DrawColumnCell //添加如下代码 //选择整行变色 begin if gdSelected in State then DBGridEh1.Canvas.Brush.Color := $00F2DCB7; DBGridEh1.DefaultDrawColumnCell(Rect, DataCol, Column, State); end;
📱 扫码关注公众号
扫描二维码关注我们,获取更多精彩内容
实时更新 · 干货满满