I have unwanted behavour with GdViewer for which I cannot create a workaround. I set MouseMode to 'MouseModeAutoZoom' and MouseWheelMode to 'MouseWheelZoom', then I select area and the viewer auto zooms to it (works fine), but then if i scroll mouse down to zoom out, suddenly the view auto centers on the center of the image
I tried changing zoommodes, properties etc. and adding line GdViewerCnt1.CenterOnRect; on OnZoomChange event, but this last one makes the viewer flicker and change position 2 times every zoom (mouse wheel launches zoom 3 times, so its 6 every scroll)...
Can you change viewer to zoom in/out on current view instead of center in the future release? (or are there maybe properties that i can change to make it work this way?)
And is it possible to view the selected area with MouseModeAutoZoom in the center of the viewer instead of top left corner?
Thanks in advance.
Best regards,
Slava
(GdPicture Pro 5.1.10;Delphi7;Win2000)
