Q
qiangyao
Unregistered / Unconfirmed
GUEST, unregistred user!
我想在strgrid上画图,想请教一下:
要求如下
procedure TForm1.Button1Click(Sender: TObject);
begin
if grid.rowcount>1 then//如果GRID的行大于1
grid[1,1]:=iamge//意思是在第一行第一列画图
end;
//不能在grid的DrawCell中画
要求如下
procedure TForm1.Button1Click(Sender: TObject);
begin
if grid.rowcount>1 then//如果GRID的行大于1
grid[1,1]:=iamge//意思是在第一行第一列画图
end;
//不能在grid的DrawCell中画