Autor Beitrag
hansa
ontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic starofftopic star
Beiträge: 3079
Erhaltene Danke: 9



BeitragVerfasst: Mo 01.03.04 21:44 
Hi,

folgendes Problem. Ich brauche ein Bild, das ich mehrmals verwenden will. Überall LoadFromFile neu aufzurufen ists wohl auch nicht. Deshalb will ich das in eine Variable speichern. Diese soll aber auch nicht LoadFromFile aufrufen, weil ich nicht sicher bin, ob der File überhaupt vorhanden ist. Wie mache ich das ? Wenn ich jemand die EXE gebe, soll das Bild da erscheinen. Beim compilieren ist es natürlich vorhanden.

_________________
Gruß
Hansa
CenBells
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starofftopic star
Beiträge: 1547

Win 7
Delphi XE5 Pro
BeitragVerfasst: Mo 01.03.04 22:04 
hallo,

verwende eine imagekomponente und lade in delphi das bild rein. Dann wird das auch mitkompiliert...

Gruß
ken

_________________
Eine Klasse beschreibt die Struktur und das Verhalten einer Menge gleichartiger Objekte.
Motzi
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic star
Beiträge: 2931

XP Prof, Vista Business
D6, D2k5-D2k7 je Prof
BeitragVerfasst: Mo 01.03.04 22:07 
Dein Stichwort ist Suche in: Delphi-Forum, Delphi-Library RESOURCEN ... ;)

_________________
gringo pussy cats - eef i see you i will pull your tail out by eets roots!