谢
解决方案 »
- 请教:gmail的smtp端口,465和587的问题
- 电脑中有2块网卡,用idudpclient控件发送数据,如何指定从其中的一个网卡走数据呀? 急!!
- 如何知道子窗口的哪些控件是从父窗口继承下来的?
- 中秋快乐~~~~~~~~
- 急求ADOConnection动态链接到SQL Server 数据库的方法.
- 为什么会出现socket Error #10054 Connection resetby peer错误提示
- 如何在bde里共享一个连接
- 一个比较麻烦的问题~~急用~~~~~~~~~~拜谢~~~~~~~~~~~`
- 高手们都来阿,极度变态的问题~~~~~~~~~~~~~~~
- 数据库共享问题?
- Ladies and gentlemen: 谁用过TMs Async32控件包(串口开发)中的VaTernimal控件啊!帮忙啊!
- 在线等待,谢谢!
const Rect: TRect; DataCol: Integer; Column: TColumn;
State: TGridDrawState);
中写代码if query1.FieldByName('seqno').asinteger>30 then
begin
DBGrid1.Canvas.Brush.Color := clMoneyGreen;
DBGrid1.Canvas.Font.Color := clGreen;
DBGrid1.Canvas.FillRect(Rect);
end;
if query1.FieldByName('seqno').asinteger<=30 then
begin
DBGrid1.Canvas.Brush.Color := clMoneyGreen;
DBGrid1.Canvas.Font.Color := clBlue;
DBGrid1.Canvas.FillRect(Rect);
end;
if quey1.FieldByName('seqno').asinteger<=20 then
begin
DBGrid1.Canvas.Brush.Color := clMoneyGreen;
DBGrid1.Canvas.Font.Color := clRed;
DBGrid1.Canvas.FillRect(Rect);
end;
if quey1.FieldByName('seqno').asinteger<=10 then
begin
DBGrid1.Canvas.Brush.Color := clMoneyGreen;
DBGrid1.Canvas.Font.Color := clYellow;
DBGrid1.Canvas.FillRect(Rect);
end;
DBGrid1.DefaultDrawColumnCell(Rect,DataCol,Column,State);