Copied bitmap to Clipboard cannot be retrieved
Original Reporter info from Mantis: Marien
-
Reporter name: Marien van Westen
Original Reporter info from Mantis: Marien
- Reporter name: Marien van Westen
Description:
When I create a picture or drawing on a bitmap and copy this to the clipboard, I cannot read this image from the clipboard into f.i. Irfanview.
The code I use works fine in Delphi
Steps to reproduce:
procedure TForm1.Button1Click(Sender: TObject);
begin
Bitmap:=TBitmap.Create;
Bitmap.Width:=Paintbox1.Width;
Bitmap.Height:=Paintbox1.Height;
Teken(HScroll.Position,lx-VScroll.Position,Fscroll.Position);
Clipboard.Assign(Bitmap);
Bitmap.Free;
end;
N.B. in procedure Teken the lines are drawn on the bitmap.
Mantis conversion info:
- Mantis ID: 1748
- OS: Win XP
- Platform: MSWindows
- Version: 0.9.12
- Fixed in version: 0.9.13 (SVN)
- Fixed in revision: 8795 (#3f73090d)
- Target version: 1.0.0
- LazTarget: 1.0