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
 TImageEnFolderMView Filtering
 New Topic  Reply to Topic
Author Previous Topic Topic Next Topic  

bmesser

United Kingdom
234 Posts

Posted - May 09 2014 :  09:02:17  Show Profile  Reply
Hi

Is it possible to filter on parts of the file name and not just the file extension when using the TImageEnFolderMView component?

For instance I have files that have a 'YYYY-MMM.png' format as a file name, and want to display only files for a certain year using a mask like '2013*.png'.

I am sure it should be, but couldn't find anything after a quick look through the help files.

Bruce.

bmesser

United Kingdom
234 Posts

Posted - May 09 2014 :  13:04:10  Show Profile  Reply
I do realise that I could do this by scanning the folder and filling a TImageEnMView manually, but this would defeat the purpose of this component which is so easy to use by just pointing it at a folder.
Go to Top of Page

xequte

39061 Posts

Posted - May 12 2014 :  02:38:58  Show Profile  Reply
Hi

There is not an option for that at this time, but there really should be an event that allows you to filter the files that are added.

I'll look into this for the next update.



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

xequte

39061 Posts

Posted - Jun 02 2014 :  22:38:51  Show Profile  Reply
FYI, we will be adding this in 5.1.2.

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

Elemental

USA
56 Posts

Posted - Jun 27 2014 :  14:12:50  Show Profile  Reply
I, too, would like this feature. Whether it's an event or a FileMask property. A FileMask property would work quicker. And I suppose whatever gets through the mask would have the event fire for the programmer to see if it really should be shown.
Go to Top of Page

xequte

39061 Posts

Posted - Jun 28 2014 :  12:54:51  Show Profile  Reply
Hi

We have changed the OnPlayFrame event, it now has a bShowFrame parameter which can be set to False to skip display of a frame/image.



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: