如何在stringgrid的某个cell上显示一个bmp?一定给分! 如题? 解决方案 » 免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货 //StringGrid的OnDrawCell事件procedure TForm1.StringGrid1DrawCell(Sender: TObject; ACol, ARow: Integer; Rect: TRect; State: TGridDrawState);begin if (ACol=0) And (ARow=0) then StringGrid1.Canvas.StretchDraw(Rect,Image1.Picture.Bitmap);end; 在OnDrawCell事件上画上去, stringgrid1.Canvas.Draw(x,y,Image1.Picture.Graphic ) delphi TThread类使用 我用fastReport打印时,超出一页的内容如何让其自动换页? 从DBGRIDEH中导出EXCEL文件出现问题 在delphi中应该用哪个控件去实现? 我用UDP控件做局域网的通信,当我在一端指定了目标IP但如果目标IP的通信程序没有启动时,发送端发送完后就自己关闭程序了. 怎样判断adotable所连接的表的字段的数据类型 拷贝和粘贴问题 如何用sql语言把query中的第一列的数据送到COMBOBOX中? 我怎么不能给分啊? 请问:如何获取IE的历史记录啊? 各位帮帮我吧! 谁给一个桌面精灵的完整delphi源代码例子,本人500分相送!
procedure TForm1.StringGrid1DrawCell(Sender: TObject; ACol, ARow: Integer;
Rect: TRect; State: TGridDrawState);
begin
if (ACol=0) And (ARow=0) then
StringGrid1.Canvas.StretchDraw(Rect,Image1.Picture.Bitmap);
end;
stringgrid1.Canvas.Draw(x,y,Image1.Picture.Graphic )