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
 IEFolderMViewFinishWork not work
 New Topic  Reply to Topic
Author Previous Topic Topic Next Topic  

klausdoege

Germany
389 Posts

Posted - Nov 13 2015 :  13:44:34  Show Profile  Reply
Hello,
I want to check if IEFolderMView.folder is ready.
I would like to use IEFolderMViewFinishWork, but unfortunately it does not give a result.
What can I do ?


Klaus
www.klausdoege.de

xequte

39108 Posts

Posted - Nov 15 2015 :  17:29:24  Show Profile  Reply
Hi Klaus

OnFolderChanged occurs when the TImageEnFolderMView has completed filling after a folder change.

http://www.imageen.com/help/TImageEnFolderMView.OnFolderChanged.html

At that point you can access and operate any of the items, however the thumbnail may not yet be displayed to the user.

The OnAllDisplayed event occurs when all thumbs are loaded and displayed:

http://www.imageen.com/help/TImageEnMView.OnAllDisplayed.html

Nigel
Xequte Software
www.xequte.com
nigel@xequte.com
Go to Top of Page

klausdoege

Germany
389 Posts

Posted - Nov 16 2015 :  13:53:25  Show Profile  Reply
Hi Nigel,
The problem I had with reading the subdirectories and fillfromdirectory.
Dissolved with includesubfolders in v6.2.2 .
Thank you it works perfectly .

Klaus
www.klausdoege.de
Go to Top of Page

klausdoege

Germany
389 Posts

Posted - Nov 19 2015 :  08:28:01  Show Profile  Reply
Hi Nigel,
i have try it again.
For Example:
procedure TThumbnail_form.IEFolderMView1FolderChanged(Sender: TObject);
begin
showmessage('All finish ?');
end;
But no result, message not Show after finish ?
I think everything must Change.

Klaus
www.klausdoege.de
Go to Top of Page

xequte

39108 Posts

Posted - Nov 19 2015 :  15:31:42  Show Profile  Reply
Hi Klaus

I cannot reproduce that. What method are you using to fill the IEFolderMView and/or change the folder?


Nigel
Xequte Software
www.xequte.com
nigel@xequte.com
Go to Top of Page

klausdoege

Germany
389 Posts

Posted - Nov 20 2015 :  08:05:41  Show Profile  Reply
Hi Nigel,

i use:
IEFolderMView1.includesubfolders := true; (v6.2.2)
IEFolderMView1.SetFolderEx(verz , iefAllImages, '');



Klaus
www.klausdoege.de
Go to Top of Page

xequte

39108 Posts

Posted - Nov 21 2015 :  15:18:44  Show Profile  Reply
Hi Klaus

Yes, there seems to be an issue where OnFolderChanged will not occur if LockUpdate is used (as it is in SetFolderEx).

Either avoid use of LockUpdate and SetFolderEx, or email me for updated source.



Nigel
Xequte Software
www.xequte.com
nigel@xequte.com
Go to Top of Page
  Previous Topic Topic Next Topic  
 New Topic  Reply to Topic
Jump To: