Hi.
Ich benutze Delphi 3 und kann Form1.DoubleBuffered := True; nicht benutzen.
Gibt es dafür einen walkaround oder etwas ähnliches?
Habe es mit diesem walkaround versucht blos
Delphi-Quelltext
1: 2: 3: 4: 5: 6: 7: 8: 9: 10: 11:
| Graphic := TGraphic.Create; Graphic.LoadFromFile('images/raumschiff.jpg'); TempBild := TImage.Create(self); TempBild.Width := Self.ClientWidth; TempBild.Height := Self.ClientHeight; TempBild.Canvas.Brush.Color := clBlack; TempBild.Canvas.Rectangle(-1, -1, width,height); TempBild.Canvas.TextOut(5, 5, 'Quelltext von Christian Kästner (christian@kaestnerpro.de)'); TempBild.Canvas.Draw(100, 20, Graphic); BitBlt(Self.Canvas.handle, 0, 0, Self.Width, Self.Height, TempBild.Canvas.Handle, 0, 0, SrcCopy); TempBild.Free; |
funktioniert unter delphi 3 anscheinend TempBild := TImage.Create(self); nicht
Gibt es noch andere Möglichkeiten oder was habe ich falsch gemacht?
Ziel ist das flackern beim bewegen von TImages wegzukriegen
fun