Autor Beitrag
Pr0g3r
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic star
Beiträge: 44

Win XP
Turbo Pascal, Delphi 5&7, Ti-Basic
BeitragVerfasst: Do 10.02.11 20:11 
Hi,

Ich weiss zwar nicht, ob es in der richtigen Sparte liegt, aber ich poste es einfach mal hier :wink:
Und zwar habe ich folgendes Problem:
Ich würde gerne ein Bild aus dem Explorer oder so auf während der Laufzeit auf mein Programm ziehen und dort dann darstellen.
Hat irgendjemand von euch eine Idee, wie man das machen könnte?

Pr0g3r
Marc.
ontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic starofftopic star
Beiträge: 1876
Erhaltene Danke: 129

Win 8.1, Xubuntu 15.10

BeitragVerfasst: Do 10.02.11 21:27 
Pr0g3r Threadstarter
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic star
Beiträge: 44

Win XP
Turbo Pascal, Delphi 5&7, Ti-Basic
BeitragVerfasst: Do 10.02.11 21:44 
Danke für die schnelle Hilfe :D , ich hab beim Googlen leider nichts gefunden.
Ich setz mich morgen gleich mal ran

Pr0g3rjavascript:emoticon(':dance2:')
Tino
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic star
Veteran
Beiträge: 9839
Erhaltene Danke: 45

Windows 8.1
Delphi XE4
BeitragVerfasst: Fr 11.02.11 12:49 
Ist zwar schon ein paar Jahre alt... ...vom Explorer per Drag&Drop Dateien empfangen?
DonManfred
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starofftopic star
Beiträge: 148
Erhaltene Danke: 2

Windows 7
Delphi XE3 Pro + HTML5Builder
BeitragVerfasst: Fr 11.02.11 14:18 
user profile iconPr0g3r hat folgendes geschrieben Zum zitierten Posting springen:
Ich würde gerne ein Bild aus dem Explorer oder so auf während der Laufzeit auf mein Programm ziehen und dort dann darstellen.
Hat irgendjemand von euch eine Idee, wie man das machen könnte?


int3OnFileDrop-Komponente (rar, 13.01 KB)
Einloggen, um Attachments anzusehen!
_________________
Gruss Manfred
Pr0g3r Threadstarter
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic star
Beiträge: 44

Win XP
Turbo Pascal, Delphi 5&7, Ti-Basic
BeitragVerfasst: So 13.02.11 15:42 
die 1. Antwort hat schon tadellos funkioniert, Danke :D

wie kann ich Delphi jetzt dazu bringen, dass er mir beim speichern so eine Explorerabfrage macht, wo ich es hinspeichern will?

So was hier in der Art: (nur als bmp und nicht als worddokument ^^)
user defined image
bfelix
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic star
Beiträge: 61

WIN 2000 Prof., Win XP Prof., Win 7 Starter und Prof., SuSe Linux 11.3,
Delphi 7 Pers.
BeitragVerfasst: So 13.02.11 16:43 
Hallo Pr0g3r
Mit einem Savedialog unter Dialoge.
ausblenden Delphi-Quelltext
1:
2:
3:
with SavePictureDialog1 do
   if Execute then
    Image1.Picture.SaveToFile(FileName);
Pr0g3r Threadstarter
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic star
Beiträge: 44

Win XP
Turbo Pascal, Delphi 5&7, Ti-Basic
BeitragVerfasst: So 13.02.11 16:57 
ah Danke ^^