ImageEn for Delphi and C++ Builder ImageEn for Delphi and C++ Builder

 

ImageEn Forum
Profile    Join    Active Topics    Forum FAQ    Search this forumSearch
 All Forums
 ImageEn Library for Delphi, C++ and .Net
 ImageEn and IEvolution Support Forum
 ImageEnFolderMView and IncludeSubFolders Problem

Note: You must be registered in order to post a reply.
To register, click here. Registration is FREE!

View 
UserName:
Password:
Format  Bold Italicized Underline  Align Left Centered Align Right  Horizontal Rule  Insert Hyperlink   Browse for an image to attach to your post Browse for a zip to attach to your post Insert Code  Insert Quote Insert List
   
Message 

 

Emoji
Smile [:)] Big Smile [:D] Cool [8D] Blush [:I]
Tongue [:P] Evil [):] Wink [;)] Black Eye [B)]
Frown [:(] Shocked [:0] Angry [:(!] Sleepy [|)]
Kisses [:X] Approve [^] Disapprove [V] Question [?]

 
Check here to subscribe to this topic.
   

T O P I C    R E V I E W
klausdoege 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
7   L A T E S T    R E P L I E S    (Newest First)
xequte 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
xequte 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 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
klausdoege 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 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 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 Posted - Aug 23 2021 : 05:32:29
Hi Klaus

You can use the OnProgress event to track the processing of folders (ProgressTask will be ietFilling). You can set Aborting to true to halt the filling.

https://www.imageen.com/help/TImageEnMView.OnProgress.html
https://www.imageen.com/help/TImageEnMView.ProgressTask.html

However the initial process of collecting the folder list can be time consuming on a large drive.


Nigel
Xequte Software
www.imageen.com