Vcl.Graphics.TCustomCanvas.Unlock
Delphi
procedure Unlock;
C++
void __fastcall Unlock();
Propriétés
Type | Visibilité | Source | Unité | Parent |
---|---|---|---|---|
procedure function |
public | Vcl.Graphics.pas Vcl.Graphics.hpp |
Vcl.Graphics | TCustomCanvas |
Description
Décrémente la propriété LockCount autorisant l'exécution d'autres threads quand LockCount atteint la valeur 0.
Utilisez Unlock à la fin d'une section critique ayant commencé par un appel à la méthode Lock. A chaque appel à Lock doit correspondre un appel à Unlock.