Autor Beitrag
barana
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starontopic star
Beiträge: 39



BeitragVerfasst: Mi 29.03.06 15:56 
Hallo Leute,

ich will den Pfad eines Bildes, welches ich zuvor in eine Image lade herausfinden. Geht das??

Hier ein Beispiel um zu verdeutlichen, was ich meine:
ausblenden Delphi-Quelltext
1:
2:
3:
4:
5:
6:
procedure TForm1.Button1Click(Sender: TObject);
begin
  Image1.Picture.LoadFromFile('C:\Bild.bmp');
  Label1.Caption := // hier soll der obere Pfad wieder ausgelesen werden 
                    // ohne Zwischenspeichern
end;
Narses
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic star
Administrator
Beiträge: 10185
Erhaltene Danke: 1261

W11x64
TP3 .. D7pro .. D10.2CE
BeitragVerfasst: Mi 29.03.06 21:47 
Moin!

user profile iconbarana hat folgendes geschrieben:
ich will den Pfad eines Bildes, welches ich zuvor in eine Image lade herausfinden. Geht das??

AFAIK: nein.

cu
Narses
JayEff
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starofftopic star
Beiträge: 2971

Windows Vista Ultimate
D7 Enterprise
BeitragVerfasst: Mi 29.03.06 21:50 
IIRC ist die einzige Möglichkeit: Zwischenspeichern. (in einer String Variable) Denn wenn das Bild geladen wurde, ist es nur noch im Speicher als BILD vorhanden, nicht mehr als DATEI mit NAME und PFAD...

_________________
>+++[>+++[>++++++++<-]<-]<++++[>++++[>>>+++++++<<<-]<-]<<++
[>++[>++[>>++++<<-]<-]<-]>>>>>++++++++++++++++++.+++++++.>++.-.<<.>>--.<+++++..<+.