如题.如何设?
解决方案 »
- 多线程同步 CS : TCriticalSection; 定义放在哪里?
- 高分求一图像问题解决思路及方案
- delphi6.0--installshild 做安装文件时 安装后在windows内的新增,册除内看到的程序名是default,该在哪理改自已想要的名呢?
- dbf文件转入oracle后,中文字段变成乱码,怎样解决?在线等.
- 密码验证问题 在线等待 急啊
- op为何对指针类型检查如此严
- 请问如何在delphi中实现查找文件夹?急!!!
- 三层中的adodataset,bde的query的检索速度及二者的区别?
- 我想要一段读文件的代码,很简单的那种
- 医院管理系统(含VFP)源程序,50元相送
- 小第是Delphi7的新手请大家多关照
- 哪位大侠有QQ那样的选择列表控件,高分!!!!
procedure TForm1.StringGrid1DrawColumnCell(Sender: TObject; const Rect: TRect; DataCol: Integer; Column: TColumn; State: TGridDrawState);
begin
StringGrid1.Canvas.Font.Color := clBlue;
StringGrid1.DefaultDrawColumnCell(Rect, DataCol, Column, State);
end;
第二句出错。根本没有DefaultDrawColumnCell这个过程。
procedure TForm1.StringGrid1DrawCell(Sender: TObject; ACol, ARow: Integer;
Rect: TRect; State: TGridDrawState);
begin
with StringGrid1.Canvas do begin
Font.Color := clBlue;
TextOut(Rect.Left+2, Rect.Top+3, StringGrid1.Cells[ACol, ARow]);
end;
end;