Declaration
procedure LockPaint();
Description
Increments the
lock paint counter. While
LockPaintCount is greater than zero all painting is disabled.
Use
UnlockPaint to unlock.
// Disable painting of component
ImageEnMView1.LockPaint();
try
... Perform activities, e.g. appending many files
finally
// Re-enable painting and refresh view
ImageEnMView1.UnlockPaint();
end;