Autor Beitrag
fuggaz
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic star
Beiträge: 106



BeitragVerfasst: Fr 28.09.07 17:10 
Hallo,
Delphi sagt mir, ich soll meine Variable FormImage:TPicture initialisieren.
Wie aber mach ich das?
Mit FormImage.Free klappt das nicht.
jaenicke
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starofftopic star
Beiträge: 19346
Erhaltene Danke: 1754

W11 x64 (Chrome, Edge)
Delphi 12 Pro, C# (VS 2022), JS/HTML, Java (NB), PHP, Lazarus
BeitragVerfasst: Fr 28.09.07 17:29 
user profile iconfuggaz hat folgendes geschrieben:
Hallo,
Delphi sagt mir, ich soll meine Variable FormImage:TPicture initialisieren.
Wie aber mach ich das?
Mit FormImage.Free klappt das nicht.
Das wäre deinitialisieren sozusagen ;-).
Initialisieren bedeutet, das Objekt erzeugen und nicht den Speicherbereich wieder freigeben.
In diesem Fall wäre das dann ungefähr das:
ausblenden Delphi-Quelltext
1:
FormImage := TPicture.Create;					
fuggaz Threadstarter
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic star
Beiträge: 106



BeitragVerfasst: Fr 28.09.07 17:50 
Titel: Danke:)
Danke