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
 ImageEnFolderMView1 and filename mask
 New Topic  Reply to Topic
Author Previous Topic Topic Next Topic  

ruissjuk

Finland
1 Posts

Posted - Jan 22 2014 :  01:34:00  Show Profile  Reply
Is there way to use wildcard mask in loading images from folder. I need to load jpg-images that have name like JER1201_*.jpg . I just can load all images but did not find place to put mask.

w2m

USA
1990 Posts

Posted - Jan 22 2014 :  11:02:07  Show Profile  Reply
// Retrieve all JPEG images in C:\Images\
IEFolderMView1.SetFolderEx('C:\Images\', iefCustom, 'jpg,jpeg,jpe');

There is no way to filter filenames, just file extensions.

If you need to display thumbnails with files with a specific filename you probably would have to use TImageEnMView, and then write a FindFirst, Find Next function to search for file names that match a mask which you would load into a TStringList, then finally use the filtered stringlist to load the thumbnails into TImageEnMView using iexHelperFunctions to create the thumbnails.

William Miller
Adirondack Software & Graphics
Email: w2m@frontiernet.net
EBook: http://www.imageen.com/ebook/
Apprehend: http://www.frontiernet.net/~w2m/index.html
Go to Top of Page

nwscomps

185 Posts

Posted - Jan 24 2014 :  04:38:38  Show Profile  Reply
you can achieve that by using our TThumbsBrowser component. It uses imageen internally for all loading and storing of thumbnails. Currently we are in the process of upgrading it to v. 2

Francesco Savastano
Nwscomps.com
Add-ons for the ImageEn Library
Go to Top of Page
  Previous Topic Topic Next Topic  
 New Topic  Reply to Topic
Jump To: