drawgrid 如何选择单元格后 颜色不变啊?或者去掉选择的功能 drawgrid 如何选择单元格后 颜色不变啊?或者去掉选择的功能drawgrid选择行 然后失去焦点 选择的行就成了深蓝色 如何不让他不变色? 解决方案 » 免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货 可以给每个单元改变颜色的.procedure TForm1.DrawGrid1DrawCell(Sender: TObject; Col, Row: Longint; Rect: TRect; State: TGridDrawState);begin with Sender as TDrawGrid do begin // Colors: array[0..DrawGrid1.ColCount -1 , // 0..DrawGrid1.RowCount - 1] of TColor; Canvas.Brush.Color := Colors[Col, Row]; Canvas.FillRect(Rect); end;end; C/S模式下,如何连接不同店面的数据库 word 插件问题,谁能解决,我立即给他150分,帖子上先开50分! 2次开发接口是个什么意思啊? 这样的ComboBox如何实现 这里有传奇III的完整源码下载。就是太慢了。 TWebBrowser中页面自动关闭问题 谁能帮帮我啊?关于ActiveX Form 发布使用的问题!!! 如何在ShellListView用onchang事件?像FileListBox那样 那位有自动创建Orancle ODBC数据源的代码! 我有一个程序(delphi)编的,请问? d6+MySql连接问题 如何指定更新某字段内容
begin
with Sender as TDrawGrid do
begin
// Colors: array[0..DrawGrid1.ColCount -1 ,
// 0..DrawGrid1.RowCount - 1] of TColor; Canvas.Brush.Color := Colors[Col, Row];
Canvas.FillRect(Rect);
end;
end;