Subject Re: Image class
From Mustansir Ghor <>
Date Tue, 12 Nov 2019 02:40:04 -0500
Newsgroups dbase.getting-started

Thank you Ken sir and Marc.

Zoomit has an additional feature of moving the zoomed object as well.


Marc VdB Wrote:

> Hi Mustansir,
> > I am using image object in my application where it requires zooming. > I can zoom image by increasing height and width property of image
> object. But I wonder if there is way to zoom where the image size on the
> form remains same and particular portion of image is zoomed.
> I see, that Ken gave you a possible solution already :-)
> Attached is another approach to fullfill your task. By coincidence,
> Graham Monk asked in the "how-to" group about a moveable and sizeable
> object, so a good part comes from there (especially as Rich showed how
> to use it with images...)
> The minimum version of dbase for this is version 8 (callback) and a
> restriction is, that your form has to use metric = 6 (pixel)
> You can use the mousewheel to zoom in and out of the picture (or call
> the zoom metof with true or false) and by clicking on it, you can move
> the image around. The size and position is automatically restricted to
> the initial values...
> HTH and is another possible starting point for ideas.
> KR,
> Marc