Autor Beitrag
ploRa
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starontopic star
Beiträge: 59

Win XP
Delphi 6
BeitragVerfasst: Mi 09.03.05 15:32 
Hiho alle

habe da mal eine frage.
Auf einer Form sind ganz viele "Image".
Ein Benutzer soll in ein "Edit"-Feld ein Pfad eingeben um ein beliebiges Bild zB. auf der Festplatte auf die Form in das "Image" einzufügen !?

Kann mir jmd. helfen ?

Danke im vorraus
OneOfTen
Ehemaliges Mitglied
Erhaltene Danke: 1



BeitragVerfasst: Mi 09.03.05 15:37 
ausblenden Delphi-Quelltext
1:
Image1.Picture.LoadFromFile(Edit1.Text);					
ploRa Threadstarter
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starontopic star
Beiträge: 59

Win XP
Delphi 6
BeitragVerfasst: Mi 09.03.05 15:38 
danke schön :)
ploRa Threadstarter
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starontopic star
Beiträge: 59

Win XP
Delphi 6
BeitragVerfasst: Mi 09.03.05 15:46 
da fällt mir direkt noch was auf.
Wenn das Bild zB in Image5 hochgeladen wurde. Und ein andere Benutzer kommt und will auch eins hochladen.
Wie kann man überprüfen, ob in Image5 schon ein Bild vorhanden ist.
Und er das nächste Bild automatisch in Image6 hochläd ?
OneOfTen
Ehemaliges Mitglied
Erhaltene Danke: 1



BeitragVerfasst: Mi 09.03.05 15:49 
Ein Befehl vom Image fällt mir dazu nicht ein. Du könntest ein Array Of Boolean nehmen, um das zu verwirklichen.