Einzelnen Beitrag anzeigen

Whookie

Registriert seit: 3. Mai 2006
Ort: Graz
441 Beiträge
 
Delphi 10.3 Rio
 
#31

AW: Threads und TBitmaps

  Alt 1. Sep 2014, 16:36
Lockst du deinen MyBild.Canvas auch korrekt?

Delphi-Quellcode:
procedure TPaintThread.CalcABitmap(const MyBild: TBitmap);
begin
   MyBild.Lock;
   try
     .. malen bis der bär kommt ..
   finally
     MyBild.Unlock;
  end;
end;
Whookie

Software isn't released ... it is allowed to escape!
  Mit Zitat antworten Zitat