From: Thomas Venus on
Hi,
pls can someone advice me on how to zoom in and out of images displayed
with "FabPaintLibCtrl" .
I was succesfull in displaying the image but when i try to zoom in or
out using the :zoom access/assign it does not really work.
What are the correct values to add to the :zoom value?
Thanks for your advice
Thomas

--

From: Sherlock on
Thomas

snip[ pls can someone advice me on how to zoom in and out of images
displayed
> with "FabPaintLibCtrl" .]

oImageControl := FabPaintLib{ cFileName, SELF }
SELF:oDCCCImage1:Image := oImageControl
SELF:oDCCCImage1:Zoom := -3.36

Phil McGuinness
----

From: Thomas Venus on
Sherlock wrote:

> Thomas
>
> snip[ pls can someone advice me on how to zoom in and out of images
> displayed
> > with "FabPaintLibCtrl" .]
>
> oImageControl := FabPaintLib{ cFileName, SELF }
> SELF:oDCCCImage1:Image := oImageControl
> SELF:oDCCCImage1:Zoom := -3.36
>
> Phil McGuinness
> ----

Phil,
thanks for your interest. I found out what I was doing wrong / did not
understand.
The images I want to display are bigger than the window in which I
wanted them to show so I used FabPaintLibCtrl:ImageFit := TRUE.
This again prevents values assigned to :zoom from having any effect.

Thanks again,

Thomas