ImageEn, unit iexFolderMView

TImageEnFolderMView.UnlockUpdate

TImageEnFolderMView.UnlockUpdate


Declaration

function UnlockUpdate: integer;


Description

Decrement the lock update counter (use after calling LockUpdate).

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

Returns the lock count.


Example

// Disable updating of component while setting properties
IEFolderMView1.LockUpdate();
try
  IEFolderMView1.Folder := 'C:\Images\';
  IEFolderMView1.FileTypes := iefCustom;
  IEFolderMView1.FileTypesMask := 'jpg,jpeg,jpe';
  IEFolderMView1.SortOrder := iesbFilename;
  IEFolderMView1.SortAscending := True;
finally
  // Re-enable updating and call update
  IEFolderMView1.UnlockUpdate();
end;