Vcl.Controls.TWinControl.LockDrawing
Delphi
procedure LockDrawing;
C++
void __fastcall LockDrawing();
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
procedure function |
public | Vcl.Controls.pas Vcl.Controls.hpp |
Vcl.Controls | TWinControl |
Description
Call LockDrawing method to prevent changes in that control from being redrawn. To resume redrawing call UnlockDrawing method. If to recreate a window handle after a LockDrawing call, the control will remain locked until the corresponding UnlockDrawing call.
LockDrawing / UnlockDrawing calls may be nested.