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
 TImageEnView.AutoUpdate?
 New Topic  Reply to Topic
Author Previous Topic Topic Next Topic  

PeterPanino

984 Posts

Posted - Jun 18 2013 :  13:14:34  Show Profile  Reply
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.

fab

1310 Posts

Posted - Jun 18 2013 :  13:44:56  Show Profile  Reply
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.
Go to Top of Page

PeterPanino

984 Posts

Posted - Jun 18 2013 :  14:30:52  Show Profile  Reply
Thanks - wonderful!
Go to Top of Page

xequte

39061 Posts

Posted - Jun 19 2013 :  14:50:48  Show Profile  Reply
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
Go to Top of Page

PeterPanino

984 Posts

Posted - Jun 19 2013 :  14:58:57  Show Profile  Reply
Thanks, Nigel. I agree that automatic loading is best handled by the application.

ImageEn is great!
Go to Top of Page
  Previous Topic Topic Next Topic  
 New Topic  Reply to Topic
Jump To: