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
 When ImageEnView Full Charge Picture?
 New Topic  Reply to Topic
Author Previous Topic Topic Next Topic  

wesleybobato

Brazil
367 Posts

Posted - Feb 03 2014 :  08:45:34  Show Profile  Reply
William Hello Again one by Please Help a Friend.

I did upload a problem that I found in a sample ImageEN when working with Preload

you to identify the error is easily the listbox simply moves up and down really fast forcing load the images and you will see that imageenview1 imageenview2 turns black and does not load the image correctly, I would like to know when imageenview2 uploader to use real assigned?


https://www.dropbox.com/s/cupoig45xwxclxj/Preload.zip

w2m

USA
1990 Posts

Posted - Feb 07 2014 :  10:10:28  Show Profile  Reply
To fix your problem change
procedure TForm1.FileListBox1Change(Sender: TObject);
begin
  GetImage(FileListBox1.FileName);
  PrepareNext(FileListBox1.ItemIndex + 1);
end;

To
procedure TForm1.FileListBox1Click(Sender: TObject);
begin
  GetImage(FileListBox1.FileName);
  PrepareNext(FileListBox1.ItemIndex + 1);
end;

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

wesleybobato

Brazil
367 Posts

Posted - Feb 07 2014 :  13:09:28  Show Profile  Reply
Hello William Thanks for your attention.
But unfortunately the problem persists even black bears sometimes the image, simply click fast or load images with large dimensions.
I really need to know when imageEN fills the entire image?

Go to Top of Page

w2m

USA
1990 Posts

Posted - Feb 07 2014 :  13:39:17  Show Profile  Reply
I can not repeat your problem no matter how fast I click even with 18 mp. pictures. I never get a black image. Anyhow, maybe try OnFinishWork to know when image is finished loading.

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
  Previous Topic Topic Next Topic  
 New Topic  Reply to Topic
Jump To: