FiveTech Support Forums

FiveWin / Harbour / xBase community
Board index FiveWin for Harbour/xHarbour zoom and unzoom
Posts: 7317
Joined: Thu Oct 18, 2012 07:17 PM
zoom and unzoom
Posted: Sat May 04, 2019 08:06 AM

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 ?

Since from 1991/1992 ( fw for clipper Rel. 14.4 - Momos)

I use : FiveWin for Harbour March-April 2024 - Harbour 3.2.0dev (harbour_bcc770_32_20240309) - Bcc7.70 - xMate ver. 1.15.3 - PellesC - mail: silvio[dot]falconi[at]gmail[dot]com
Posts: 4043
Joined: Wed Dec 19, 2007 06:40 PM
Re: zoom and unzoom
Posted: Sat May 04, 2019 10:11 AM
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.



regards
Uwe :-)
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.
Posts: 7317
Joined: Thu Oct 18, 2012 07:17 PM
Re: zoom and unzoom
Posted: Sat May 04, 2019 03:32 PM

no I sent you a message

Since from 1991/1992 ( fw for clipper Rel. 14.4 - Momos)

I use : FiveWin for Harbour March-April 2024 - Harbour 3.2.0dev (harbour_bcc770_32_20240309) - Bcc7.70 - xMate ver. 1.15.3 - PellesC - mail: silvio[dot]falconi[at]gmail[dot]com
Posts: 99
Joined: Fri Dec 16, 2011 03:30 PM
Re: zoom and unzoom
Posted: Mon Apr 20, 2020 08:34 PM

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
Posts: 7317
Joined: Thu Oct 18, 2012 07:17 PM
Re: zoom and unzoom
Posted: Wed Apr 22, 2020 10:34 AM
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

Since from 1991/1992 ( fw for clipper Rel. 14.4 - Momos)

I use : FiveWin for Harbour March-April 2024 - Harbour 3.2.0dev (harbour_bcc770_32_20240309) - Bcc7.70 - xMate ver. 1.15.3 - PellesC - mail: silvio[dot]falconi[at]gmail[dot]com
Posts: 99
Joined: Fri Dec 16, 2011 03:30 PM
Re: zoom and unzoom
Posted: Wed Apr 22, 2020 07:16 PM

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

Continue the discussion