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!

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


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.


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

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

Xequte Software
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

Yes, this is as per the documentation:

Also see the reason at:

Xequte Software