Autor Beitrag
110022
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic star
Beiträge: 287

XP SP2
Delphi 7
BeitragVerfasst: So 02.12.07 16:23 
wie speichere ich ein bild in einer inifile??
ausblenden Delphi-Quelltext
1:
ini.Writeinteger('image1','picture',image1.picture);					

das is falsch wie gehts richtig?
Atreyu
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic star
Beiträge: 137


Delphi 7 Enterprise
BeitragVerfasst: So 02.12.07 16:26 
Dir ist schon klar, dass eine INI eine Textfile ist, die meist zum speichern der Konfiguration da ist?
Ein Bild musst du als Bild speichern.

Ausserdem kannst du kein Bild so mal als Integer in eine File schreiben.

Du könntest höchstens den Dateinamen oder ähnliches in der INI haben
110022 Threadstarter
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic star
Beiträge: 287

XP SP2
Delphi 7
BeitragVerfasst: So 02.12.07 16:28 
die ini soll beim starten genau das bild wieder laden
aber wie???
mkinzler
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starofftopic star
Beiträge: 4106
Erhaltene Danke: 13


Delphi 2010 Pro; Delphi.Prism 2011 pro
BeitragVerfasst: So 02.12.07 16:30 
Einfach Pfad des Bildes in ini Speichern und dann später anhand des Pfades wieder laden.

_________________
Markus Kinzler.
110022 Threadstarter
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic star
Beiträge: 287

XP SP2
Delphi 7
BeitragVerfasst: So 02.12.07 16:31 
und wie geht das????
110022 Threadstarter
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic star
Beiträge: 287

XP SP2
Delphi 7
BeitragVerfasst: So 02.12.07 16:32 
ich meine der Quelltext dafür
mkinzler
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starofftopic star
Beiträge: 4106
Erhaltene Danke: 13


Delphi 2010 Pro; Delphi.Prism 2011 pro
BeitragVerfasst: So 02.12.07 16:53 

_________________
Markus Kinzler.