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
 TImageEnView OnZoomIn/Out not called when changing zoom in code

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
imageorganizernx Posted - Apr 05 2024 : 01:02:14
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
3   L A T E S T    R E P L I E S    (Newest First)
xequte Posted - Apr 05 2024 : 16:22:23
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
imageorganizernx Posted - Apr 05 2024 : 02:59:04
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
xequte Posted - Apr 05 2024 : 01:23:40
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