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
 Problem withTImageEnMView loading in form OnCreate
 New Topic  Reply to Topic
Author Previous Topic Topic Next Topic  

JimMellish

United Kingdom
7 Posts

Posted - Feb 27 2017 :  09:42:58  Show Profile  Reply
ImageEnVersion 6.3.2
Delphi 10.1 Berlin Update 2

Hi,

I am trying to populate a TImageEnMView in the OnCreate event of a form. The OnCreate event contains only the following code:

ImageEnMView.FillFromDirectory('F:\Photographs\Digital\A40');

If StoreType is set to ietNormal then everything works ok.

If it is set to ietFastThumb or ietThumb then the first time I run the program it hangs. 'Thread Start' and 'Thread Exit' messages appear in the Event Log in the debugger at about 1 per minute.

If I then stop the program and run again then everything appears normal and this is the case with subsequent runs in the same directory.

If I change directory then on the first run it will hang again and on subsequent runs it will work.

Jim

w2m

USA
1990 Posts

Posted - Feb 28 2017 :  12:23:00  Show Profile  Reply
Maybe try using OnFormShow instead.

Bill Miller
Adirondack Software & Graphics
Email: w2m@hughes.net
EBook: http://www.imageen.com/ebook/
Custom Commercial ImageEn Development
Go to Top of Page
  Previous Topic Topic Next Topic  
 New Topic  Reply to Topic
Jump To: