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

Win XP
D6 Prof
BeitragVerfasst: Mo 26.01.04 12:50 
Hej Leute

Ich hab ein Problem mit einer TImage-Komponente. Ich lade in diese Komponente ein Bitmap, genauer gesagt in "Image.Picture.Bitmap". Mit Hilfe von Image.free kann ich das Bild zwar wieder entfernen, wenn ich jedoch ein neues laden will, hängt sich Delphi auf. Mit Image.Picture.Bitmap.Free passiert gar nix, ausser einer Fehlermeldung, wenn ich das Programm schließe. Oh, hab grad festgestellt, dass ich 3 und mehr Fehlermeldungen bekomme, je nachdem, wie oft ich I.P.B.F ausführe.

Wer weiss Rat
MAlsleben
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic star
Beiträge: 303

W2k,WinXP
D3 - DXE3 Enterprise
BeitragVerfasst: Mo 26.01.04 13:14 
Hi,

entferne das Bild mit Image.picture.assign(nil) und nicht mit image.free.

Gruß Micha.

_________________
Viele Wege führen nach Rom.
Neron17 Threadstarter
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starontopic star
Beiträge: 39

Win XP
D6 Prof
BeitragVerfasst: Mo 26.01.04 13:27 
Titel: Danke
Hej MAlsleben

Funktioniert einwandfrei. Danke für die schnelle Antwort.

Rico