Vcl.Graphics.TCustomCanvas.Unlock
Delphi
procedure Unlock;
C++
void __fastcall Unlock();
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
procedure function |
public | Vcl.Graphics.pas Vcl.Graphics.hpp |
Vcl.Graphics | TCustomCanvas |
Description
Decreases the LockCount property, allowing other threads to execute when LockCount reaches 0.
Use Unlock at the end of a critical section that began with a call to the Lock method. Every call to Lock must be matched by a call to Unlock.