LoadFromDirectory

Discussions about the ThumbnailEx control of GdPicture.NET.
Post Reply
Edwin
Posts: 7
Joined: Thu Aug 18, 2011 5:44 pm

LoadFromDirectory

Post by Edwin » Sat Sep 03, 2011 12:10 am

Hello,
2 questions,

1) Is there a way to filter LoadFromDirectory so only, let say, "*.tif" files are loaded? If have serialized objects in the same folder and they are being included.
I noticed other files were filter out, like Thumbs.db, XML files.

2) Can you explain how ItemSelectionChanged and SelectedThumbnailChanged fire?

Thanks in advance,
Edwin

User avatar
Loïc
Site Admin
Posts: 5594
Joined: Tue Oct 17, 2006 10:48 pm
Location: France
Contact:

Re: LoadFromDirectory

Post by Loïc » Sun Sep 04, 2011 11:21 am

Hi Edwin,

1-
This will be possible in the next minor release that will be published very soon. We just added such function:

Code: Select all

LoadFromDirectory(string Path, bool IncludeSubFolders, string SearchPattern)
2-
See the reference guide for that. 2 events are documented. If there is something you don't understand let me know.

Kind regards,

Loïc

Edwin
Posts: 7
Joined: Thu Aug 18, 2011 5:44 pm

Re: LoadFromDirectory

Post by Edwin » Tue Sep 06, 2011 7:56 pm

Hello,
Thanks for the update. I updated to 8.2.1 and the SearchPattern works great! The SelectedThumbnailChanged event is now firing.
Thanks again!!!
Ed

User avatar
Loïc
Site Admin
Posts: 5594
Joined: Tue Oct 17, 2006 10:48 pm
Location: France
Contact:

Re: LoadFromDirectory

Post by Loïc » Wed Sep 07, 2011 12:38 pm

Thank you very much for the return Edwin!

Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest