ImageEn for Delphi and C++ Builder ImageEn for Delphi and C++ Builder
ImageEn Forum
Profile    Join    Active Topics    Forum FAQ    Search this forumSearch
Forum membership is Free!  Click Join to sign-up
Username:
Password:
Save Password
Forgot your Password?

 All Forums
 ImageEn Library for Delphi, C++ and .Net
 ImageEn and IEvolution Support Forum
 Break Action IEFolderMView.RefreshFileList;
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic  

klausdoege

Germany
270 Posts

Posted - Jul 11 2019 :  04:50:59  Show Profile  Reply
Hello,
i have set:
IEFolderMView.IncludeSubFolders := true;
IEFolderMView.Folder := 'C:\';
And now start -> IEFolderMView.RefreshFileList;

My question is, how can i break this action manually?
The Device C: is verry Big, and the action is finish
after a long long time.


Klaus
www.klausdoege.de

xequte

4590 Posts

Posted - Jul 12 2019 :  06:44:33  Show Profile  Reply
Hi Klaus

You can set:

IEFolderMView.MIO.Aborting := True;

Nigel
Xequte Software
www.imageen.com
Go to Top of Page

klausdoege

Germany
270 Posts

Posted - Jul 13 2019 :  12:46:28  Show Profile  Reply
Hi Nigel,
i have test this with the your Demo Multi\FolderMView.
When i use a Device with many pictures in differend directorys, and set the Settings Inc-Subfolder, then i can not more doing everything. The program is frozen for the time where running the process.
How can i aborting now the process ?
This is my problem.


Klaus
www.klausdoege.de
Go to Top of Page

xequte

4590 Posts

Posted - Jul 15 2019 :  20:51:52  Show Profile  Reply
Hi Klaus

Actually please email me for an update that handles it better.

You can then call like this:

// Show progress during fill, and handle user cancelling
procedure TForm1.IEFolderMViewProgress(Sender: TObject; per: Integer);
begin
  ProgressBar1.Position := per;
  if fUserCancelled then
    IEFolderMView1.MIO.Aborting := True;
end;


Nigel
Xequte Software
www.imageen.com
Go to Top of Page
  Previous Topic Topic Next Topic  
 New Topic  Reply to Topic
 Printer Friendly
Jump To: