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
 ImageEnMView.OnAcquireBitmap + AttachedImageEnView

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
aleatprog Posted - May 09 2021 : 04:28:06
Hi,

I got ImageEnView attached to an ImageEnMView component and use the ImageEnMView.OnAcquireBitmap event to correct a scanned image. The (not selected) thumbnail appears in ImageEnMView but the image won't be shown automatically in ImageEnView. Only after selecting the thumbnail manually in ImageEnMView the image is shown correctly in the ImageEnView component.

Is there a way to automatically select the image after the OnAcquireBitmap event in order to automatically load it in ImageEnView?

Al
2   L A T E S T    R E P L I E S    (Newest First)
xequte Posted - May 09 2021 : 19:47:43
Hi Al

Yes, I personally think it should automatically select the newly acquired bitmap, but that decision was made long ago, so changing it now would adversely affect behavior for other users.



Nigel
Xequte Software
www.imageen.com
aleatprog Posted - May 09 2021 : 06:33:32
Solved with TImageEnMView.OnCreateImage event:

ImageEnMView.Deselect;
ImageEnMView.SelectImage(idx);

Al