请问如何控制stringgrid某一行的颜色 这问题我昨天才看到在CBuilder组中有人解答StringGrid的OnDrawCell中操作 StringGrid的Canvas, 你想干嘛就干嘛!! 解决方案 » 免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货 //就是comanche说的一样procedure TForm1.StringGrid1DrawCell(Sender: TObject; ACol, ARow: Longint; Rect: TRect; State: TGridDrawState);begin with TStringGrid(Sender) do begin Canvas.Font.Color := clRed; Canvas.TextOut(Rect.Left, Rect.Top, Cells[ACol, ARow]); end;end; 求D6各种网络通信的代码 关于sql server的问题,请高手指点(并且用了sqlserver后我的系统启动很慢) Delphi6专业版没法在WinXP以非管理员身份安装,如何解决,个人版可以么? 关于图标 数据恢复的问题,急 物流企业解决方案 谁有delphi的液晶显示时间控件,或是别的显示时间的控件提供几个? ☆☆☆☆☆☆☆☆<<Delphi6函数大全>>(续)☆☆☆☆☆☆☆☆☆☆ Edit组件内字体问题 请问,Memo控件和Richedit控件的区别? 我下了一个小东西,*.wdl,(可能是类似文本的东西)不知道用什么打开呀 Delphi程序中怎样调用别的可执行程序?
procedure TForm1.StringGrid1DrawCell(Sender: TObject; ACol, ARow: Longint;
Rect: TRect; State: TGridDrawState);
begin
with TStringGrid(Sender) do
begin
Canvas.Font.Color := clRed;
Canvas.TextOut(Rect.Left, Rect.Top, Cells[ACol, ARow]);
end;
end;