Autor Beitrag
eniac
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starontopic star
Beiträge: 75

Win 98, Win XP, SuSE Linux 9.0
D3 Prof
BeitragVerfasst: Mi 20.10.04 18:57 
Nabend zusammen,


Ich hab über

ausblenden Delphi-Quelltext
1:
2:
3:
uses clipbrd;
//...
ClipBoard.Assign(Image1.picture);


den Inhalt von Image1 in die Zwischenablage kopiert.
Wie kann ich umgekehrt diesen Inhalt wieder zurück in dieses (oder ein anderes) Image aus der Zwischenablage hohlen?

Falls ihr eine andere Lösung habt wie das vielleicht mit Pointer-Variablen geht (ich denke da an etwas wie getimage und putimage aus TurboPascal), schreibt mir das einfach mal!

Danke für alle guten Ratschläge im Vorraus :)
smiegel
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic star
Beiträge: 992
Erhaltene Danke: 1

WIN 7
D7 Prof., C#, RAD XE Prof.
BeitragVerfasst: Mi 20.10.04 19:00 
Hallo,

ausblenden Delphi-Quelltext
1:
2:
  if Clipboard.HasFormat(CF_PICTURE) then  
    Image1.Picture.Assign(Clipboard);

_________________
Gruß Smiegel
Ich weiß, daß ich nichts weiß, aber ich weiß mehr als die, die nicht wissen, daß sie nichts wissen. (Sokrates)
eniac Threadstarter
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starontopic star
Beiträge: 75

Win 98, Win XP, SuSE Linux 9.0
D3 Prof
BeitragVerfasst: Mi 20.10.04 19:10 
danke für die extrem schnelle antwort!
funzt wie ne eins :lol: !