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
 TImageEnView.AutoUpdate?

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
PeterPanino Posted - Jun 18 2013 : 13:14:34
Please implement the following option in TImageEnView:

When an other program changes the image file on disc which was previously loaded in ImageEnView, then ImageEnview should update the currently loaded image by reloading the changed image from disc. As I said, just an option which is OFF per default. Would be very useful.

Or at least it should have a "Reload" method which reloads the previously loaded image. It should also have a "FileName" property which is filled when an image file is loaded from disc.
4   L A T E S T    R E P L I E S    (Newest First)
PeterPanino Posted - Jun 19 2013 : 14:58:57
Thanks, Nigel. I agree that automatic loading is best handled by the application.

ImageEn is great!
xequte Posted - Jun 19 2013 : 14:50:48
Hi Peter

I have added Reload as a helper function for the next update (just add iexHelperFunctions to your uses clause).

I agree with Fabrizio that automatic loading is best handled by the application. You could do this easily with a TTimer checking the file date of the loaded file or use FindFirstChangeNotification and watch for FILE_NOTIFY_CHANGE_LAST_WRITE.




Nigel
Xequte Software
www.xequte.com
nigel@xequte.com
PeterPanino Posted - Jun 18 2013 : 14:30:52
Thanks - wonderful!
fab Posted - Jun 18 2013 : 13:44:56
Thank you for the suggestion. Although I think this is application-specific behavior (and out of ImageEn context), this could be done in a future release.
BTW: ImageEn stores last loaded file name into TImageEnView.IO.Params.FileName property.