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 OnZoomIn/Out not called when changing zoom in code
 New Topic  Reply to Topic
Author Previous Topic Topic Next Topic  

imageorganizernx

Australia
14 Posts

Posted - Apr 05 2024 :  01:02:14  Show Profile  Reply
Is this WAD? It would be handy to use the OnZoomIn/Out events to update a display of zoom percentage whenever it changes, however when zoom is changed programmatically, the events are not called.

eg

myIEview.Zoom := 30; //no event triggered

zoom with mouse - events are triggered

Image Organizer NX

xequte

38610 Posts

Posted - Apr 05 2024 :  01:23:40  Show Profile  Reply
Hi

Yes, this is as per the documentation:

http://www.imageen.com/help/TIEView.OnZoomIn.html

Also see the reason at:

https://www.imageen.com/ieforum/topic.asp?TOPIC_ID=5977



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

imageorganizernx

Australia
14 Posts

Posted - Apr 05 2024 :  02:59:04  Show Profile  Reply
There are methods that end up calling the events when called programmatically, eg TImageEnView.ZoomIn/ZoomOut. The calls to the events should then be removed to be consistent with the documentation.


Image Organizer NX
Go to Top of Page

xequte

38610 Posts

Posted - Apr 05 2024 :  16:22:23  Show Profile  Reply
Hi

Yes, you are correct (as ZoomIn/Out were initially intended only as internal methods). I have clarified this in the documentation.

Nigel
Xequte Software
www.imageen.com
Go to Top of Page
  Previous Topic Topic Next Topic  
 New Topic  Reply to Topic
Jump To: