ImageEn, unit iemview

TImageEnMView.UnlockPaint

TImageEnMView.UnlockPaint


Declaration


function UnlockPaint: integer;


Description


Decrement the lock paint counter (use after calling LockPaint).

If the lock count is zero, then Update is called to refresh the view.

Returns the lock count.


Example


// Disable painting of component
ImageEnMView1.LockPaint;
try
  ... Perform activities, e.g. appending many files
finally
  // Re-enable painting and refresh view
  ImageEnMView1.UnlockPaint;
end;