SRL Archive - Delphi/FPC Help and Tutorials

Loading Imegas From File/ Pasting


NiCbaZ

2008-11-15 21:44:01

In ACA, and Neile95's DDTM editor, they made it so you can load images from file, or paste them ive been trybing to do this but failing, can someone Tell me how or write a short example ?

I found this somewhere

if Clipboard.HasFormat(CF_BITMAP) then
ClientImage.Picture.Bitmap.Assign(Clipboard) ;


But for some reason

Clipboard

Doesnt compile…

TViYH

2008-11-23 17:09:05

Try ClpBrd?