RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TGraphicsObject.Unlock Method

Releases the lock on execution threads set by the Lock method.

Pascal
procedure Unlock;
C++
__fastcall Unlock();

Call Unlock at the end of a thread-sensitive section of code that was started with a call to the Lock method. When every call to Lock is balanced by a call to Unlock, other threads are allowed to lock the associated canvas. 

 

Copyright(C) 2009 Embarcadero Technologies, Inc. All Rights Reserved.
What do you think about this topic? Send feedback!