zoom and unzoom

Post Reply
User avatar
Silvio.Falconi
Posts: 4956
Joined: Thu Oct 18, 2012 7:17 pm

zoom and unzoom

Post by Silvio.Falconi »

I wish insert a slider on bottom of window and zoom and unzoom particular section of wndmain ( and all controls are showed)
How make it ?
I use : FiveWin for Harbour August 2020 (Revision) - Harbour 3.2.0dev (r1712141320) - Bcc7.30 - xMate ver. 1.15.3 - PellesC
User avatar
ukoenig
Posts: 3981
Joined: Wed Dec 19, 2007 6:40 pm
Location: Germany
Contact:

Re: zoom and unzoom

Post by ukoenig »

Silvio,
I wish insert a slider on bottom of window and zoom and unzoom particular section of wndmain
( and all controls are showed)
I tested to zoom sections but NOT in edit-mode only viewing that works on cursorposition
the area is defined with a given size from a bottom slider
particular section of wndmain
The zoom-section is defined with the size of the result-area
the cursor-position is the center.

here is the test :!:

You can zoom / unzoom any area on cursorposition.
A slider can be used to define the zoom-factor, a button to switch zoom on/off.

Image

regards
Uwe :D
Since 1995 ( the first release of FW 1.9 )
i work with FW.
If you have any questions about special functions, maybe i can help.
User avatar
Silvio.Falconi
Posts: 4956
Joined: Thu Oct 18, 2012 7:17 pm

Re: zoom and unzoom

Post by Silvio.Falconi »

no I sent you a message
I use : FiveWin for Harbour August 2020 (Revision) - Harbour 3.2.0dev (r1712141320) - Bcc7.30 - xMate ver. 1.15.3 - PellesC
User avatar
RiazKhan
Posts: 77
Joined: Fri Dec 16, 2011 3:30 pm
Location: Pakistan

Re: zoom and unzoom

Post by RiazKhan »

Hi Uwe,

Is it possible to see an example source for the Zoom In / Zoom Out function.
I would like to use this for one of my application.

Making the cursor as center point..on the main window TEXTTITLE
Thnx, Regards
FWH 20.04/Harbour3.2/Bcc7.40+/ilink32/Pelles 9.0
EMail: amriazkhan@gmail.com
Pakistan
User avatar
Silvio.Falconi
Posts: 4956
Joined: Thu Oct 18, 2012 7:17 pm

Re: zoom and unzoom

Post by Silvio.Falconi »

Uwe use the zoom function of samples\zoomer.prg or zoomer2.prg

I Mean another zoom
I have 200 btns on a dialog with resize and I wish resize all controls on this dialog ( each controls can have founts and text )

sample :
for this test ( new calculator) my function run ok because the controls are all type btnbmps (the fonts are recreated for each controls)

if there are other type of control not run ok

Image
I use : FiveWin for Harbour August 2020 (Revision) - Harbour 3.2.0dev (r1712141320) - Bcc7.30 - xMate ver. 1.15.3 - PellesC
User avatar
RiazKhan
Posts: 77
Joined: Fri Dec 16, 2011 3:30 pm
Location: Pakistan

Re: zoom and unzoom

Post by RiazKhan »

Thanks, Silvio,

Nice, magnification tool.
I will look into the sample zoomer prgs and try to fit it into my application.
FWH 20.04/Harbour3.2/Bcc7.40+/ilink32/Pelles 9.0
EMail: amriazkhan@gmail.com
Pakistan
Post Reply