T O P I C R E V I E W |
aleatprog |
Posted - Dec 22 2018 : 08:34:02 Hi,
I limited ImageEnView zooming in the range min 15% - max 1000%. Inside the range 15-1000 the mouse acts correctly allowing to zoom in up to 1000% and to zoom out down to 15%.
Values major to 1000 are limited using the ZoomIn event:
if NewZoom > 1000 then NewZoom := 1000;
Problem: Once the mouse zooms outside the maximum range (e.g. 1050%), it's not longer possible to zoom out down to 15% but it blocks at 100%.
May you tell me what causes this behaviour?
Thank you in advance, Al |
2 L A T E S T R E P L I E S (Newest First) |
xequte |
Posted - Dec 24 2018 : 14:08:26 Nice work, Al,
You have a great Xmas too.
Nigel Xequte Software www.imageen.com
|
aleatprog |
Posted - Dec 22 2018 : 09:02:39 Found the answer:
MouseWheelParams.Variation := iemwAbsolute; MouseWheelParams.Value := 100;
Therefore, the limitation set the zoom rate to 1000% and zooming out blocked at 100% for its Value.
Everything's fine. Have a nice Xmas. : )
Al |
|
|