Delphi-PRAXiS
Seite 2 von 2     12   

Delphi-PRAXiS (https://www.delphipraxis.net/forum.php)
-   Multimedia (https://www.delphipraxis.net/16-multimedia/)
-   -   Paste "CF_JPEG" (https://www.delphipraxis.net/178534-paste-cf_jpeg.html)

DeddyH 13. Jan 2014 19:26

AW: Paste "CF_JPEG"
 
Das stand aber auch in dem verlinkten Thread:
Zitat:

Which can be simplified by Assign()'ing the clipboard to the TPicture directly
and let it figure out the details for you:

Delphi-Quellcode:
procedure TfrmMain.DefaultImagePasteFromClipboardClick(Sender: TObject);
begin
  DefaultImage.Picture.Assign(Clipbrd);
end;


--
Remy Lebeau (TeamB)

Bjoerk 13. Jan 2014 19:56

AW: Paste "CF_JPEG"
 
Hatte ich übersehen.
BTW, so macht er sogar CF_Text auf’s Bitmap. :-D


Alle Zeitangaben in WEZ +1. Es ist jetzt 21:18 Uhr.
Seite 2 von 2     12   

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
LinkBacks Enabled by vBSEO © 2011, Crawlability, Inc.
Delphi-PRAXiS (c) 2002 - 2023 by Daniel R. Wolf, 2024 by Thomas Breitkreuz