Author |
Topic  |
|
klausdoege
  
Germany
389 Posts |
Posted - Aug 22 2021 : 12:18:57
|
Hello, when i use ImageEnFolderMView and IncludeSubFolders = true, and IEFolderMView1.Folder := C:\ or D:\ (so Root), the Programm hanging on. Your Example FolderMView has the same Effect. What kann i do, for searching over the komplett Device ?
Klaus DigiFoto www.klausdoege.de |
|
xequte
    
38796 Posts |
|
klausdoege
  
Germany
389 Posts |
Posted - Aug 27 2021 : 09:13:59
|
Hi Nigel, thanks, it works perfectly like this, I can cancel now the process. Unfortunately it is not possible to scan a complete hard disk c:\ or e:\, it just takes too long. Unfortunately, there is no message in between, so that you cannot see whether the action is still active.
Klaus DigiFoto www.klausdoege.de |
 |
|
xequte
    
38796 Posts |
Posted - Aug 27 2021 : 20:12:54
|
Hi Klaus
Yes, there doesn't seem to be a practical way around that. Perhaps we need a maximum number of folders. I will investigate that.
Nigel Xequte Software www.imageen.com
|
 |
|
klausdoege
  
Germany
389 Posts |
Posted - Aug 29 2021 : 05:19:16
|
Hallo Nigel, why is the value per in IEFolderMView1IOProgress(Sender: TObject; per: Integer); never > 0 ? And what is the difference to IEFolderMView1DrawProgress(Sender: TObject; per: Integer);
Klaus DigiFoto www.klausdoege.de |
 |
|
xequte
    
38796 Posts |
Posted - Aug 29 2021 : 19:26:50
|
Hi Klaus
It is zero while filling the content with sub-folders because the total number of folders is not known. Progress is called only to allow the process to be aborted.
OnDrawProgress occurs as each image is painted. per returns the number of images completed (painted or skipped because they are off-screen) out of the total number of images in the control. It will reach 100% when all images onscreen have been painted.
Nigel Xequte Software www.imageen.com
|
 |
|
xequte
    
38796 Posts |
Posted - Aug 30 2021 : 03:28:39
|
Hi Klaus
We have now implemented a SubFolderLimit property that prevents too many folders from being parsed. It is also used to return a more accurate progress percentage. You can email me to test it.
Nigel Xequte Software www.imageen.com
|
 |
|
xequte
    
38796 Posts |
Posted - Aug 30 2021 : 03:55:06
|
Also, please note that is is OnProgress that should be used during fill operations, not OnIOProgress.
Nigel Xequte Software www.imageen.com
|
 |
|
|
Topic  |
|