From: Thomas Venus on 7 Dec 2006 10:24 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 7 Dec 2006 10:43 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 11 Dec 2006 03:20 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
|
Pages: 1 Prev: InternetWiteFile (to upload files using HTTP) Next: Font question |