F
feifan
Unregistered / Unconfirmed
GUEST, unregistred user!
各位仁兄,问题如下!
DxIamgeList1.Items[0].Picture 已赋值
DxIamgeList1.Items[1].Picture 已赋值
begin
DXDraw.Surface.Fill(0);
DXImageList1.Items[0].Draw(DXDraw.Surface,0,Y,0);
DXImageList1.Items[1].Draw(DXDraw.Surface,0,Y + 600,0);
If 条件成立 then
begin
DXImageList1.Items[0].Assign(DXImageList1.Items[1]);
//将DxImageList1.Items[1]的值赋值给Items[0].
DXImageList1.Items[1].Picture.Assign(Table.Fields[1]);
//让DXImageList1.Items[1]从数据表中另取图像。
DXImageList1.Items[0].Draw(DXDraw.Surface,0,Y,0);
DXImageList1.Items[1].Draw(DXDraw.Surface,0,Y + 600,0);
//为什么DxImageList1.Items[1]就画不出数据表中的图象?
end;
DXDraw.Flip;
end;
DxIamgeList1.Items[0].Picture 已赋值
DxIamgeList1.Items[1].Picture 已赋值
begin
DXDraw.Surface.Fill(0);
DXImageList1.Items[0].Draw(DXDraw.Surface,0,Y,0);
DXImageList1.Items[1].Draw(DXDraw.Surface,0,Y + 600,0);
If 条件成立 then
begin
DXImageList1.Items[0].Assign(DXImageList1.Items[1]);
//将DxImageList1.Items[1]的值赋值给Items[0].
DXImageList1.Items[1].Picture.Assign(Table.Fields[1]);
//让DXImageList1.Items[1]从数据表中另取图像。
DXImageList1.Items[0].Draw(DXDraw.Surface,0,Y,0);
DXImageList1.Items[1].Draw(DXDraw.Surface,0,Y + 600,0);
//为什么DxImageList1.Items[1]就画不出数据表中的图象?
end;
DXDraw.Flip;
end;