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
 Select thumb by file name?

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
Gianluca83 Posted - Oct 04 2011 : 15:10:33
Hello!
Sorry in advance for my very bad english.
I have imageen 3.1.2
Im try to make a little image viewer.
I put in my project a Timageenview and TImageEnMview.
I load a picture in imageview and i use fillfromdirectory for see in TImageEnMview all image located in that folder. The problem is that: i want Select in Timageenmview the same image/thumb that i have load in imageenview but i dont know how get select image from filename. Can i make it and how?
3   L A T E S T    R E P L I E S    (Newest First)
fab Posted - Oct 05 2011 : 09:16:45
Look at this example:

"multi\Thumbnails"

Check the "Preview" checkbox.

This example has a TImageEnMView on the left, and fill thumbnails using FillFromDirectory whenever you change a directory.
On the right there is one TImageEnView, which shows the selected thumbnail.
Gianluca83 Posted - Oct 05 2011 : 07:50:01
thanks fabrizio fo rensponse.
I do not have much experience with delphi.
Can you make a little example?
thanks again.
fab Posted - Oct 04 2011 : 23:51:59
Hello Gianluca,
FillFromDirectory fills the property ImageFileName[] of TImageEnMView with the actual loaded file name.
For this reason you could make a loop and search for the file name inside it (ImageEnMView.ImageFileName[...]).

If you need the opposite (show the selected image of TImageEnMView in TImageEnView) just handle the event OnImageSelect.