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
 Acquisition dialog opening behind form
 New Topic  Reply to Topic
Author Previous Topic Topic Next Topic  

FabioDefferrari

Brazil
4 Posts

Posted - Jun 24 2024 :  11:04:46  Show Profile  Reply
Hi, I’m having a problem while calling the IO.Acquire method, when the acquisition dialog opens behind the form where the TImageEn object is placed.

As long as I’ve found out, is happens when the component is set to Visible=False

Any idea how to avoid that?

xequte

38448 Posts

Posted - Jun 24 2024 :  15:02:48  Show Profile  Reply
Hi Fabio

Does it only happen with a particular scanner driver, or all scanners called from that application?

Does it also happen in our demo applications, such as AllAcquire.dpr?

Nigel
Xequte Software
www.imageen.com
Go to Top of Page

FabioDefferrari

Brazil
4 Posts

Posted - Jun 25 2024 :  08:36:41  Show Profile  Reply
Hi, Nigel

I haven't tried with Twain, but in WIA scanners it always happen.

It doesn't happen in the Demo app, probably because the TImageEnMView component is set to Visible=True.

For now, I "solved" by setting Visible to True and setting Height/Width to 0 (zero), so the object isn't visible on form to the user. But I believe the "Visible" property shouldn't make a difference in the way the acquisition dialog is shown, right?
Go to Top of Page

xequte

38448 Posts

Posted - Jun 25 2024 :  16:10:26  Show Profile  Reply
Thanks Fabio,

We'll look into that shortly. Do you see the same issue if you use a TIEMultiBitmap instead of TImageEnMView?

e.g. multiBmp.MIO.Acquire();

http://www.imageen.com/help/TIEMultiBitmapHelper.MIO.html

Nigel
Xequte Software
www.imageen.com
Go to Top of Page

FabioDefferrari

Brazil
4 Posts

Posted - Jun 26 2024 :  12:50:35  Show Profile  Reply
Nigel, sorry for the question: to use MIO under TIEMultiBitmap, I should just add iexHelperFunctions in uses clause, right? Or do I have to do something else?

UPDATE: solved.
Go to Top of Page

xequte

38448 Posts

Posted - Jun 26 2024 :  23:49:33  Show Profile  Reply
Yes, sorry, should have mentioned that.

What happens with multiBmp.MIO.Acquire()?

Nigel
Xequte Software
www.imageen.com
Go to Top of Page

FabioDefferrari

Brazil
4 Posts

Posted - Jul 05 2024 :  13:25:34  Show Profile  Reply
Nigel

I ended up using TImageEnIO component instead of TImageEnMView, and it worked out fine.
Go to Top of Page
  Previous Topic Topic Next Topic  
 New Topic  Reply to Topic
Jump To: