zoom and unzoom

zoom and unzoom

Postby Silvio.Falconi » Sat May 04, 2019 8: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 November 2023 - January 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
User avatar
Silvio.Falconi
 
Posts: 6796
Joined: Thu Oct 18, 2012 7:17 pm

Re: zoom and unzoom

Postby ukoenig » 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.

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
ukoenig
 
Posts: 4043
Joined: Wed Dec 19, 2007 6:40 pm
Location: Germany

Re: zoom and unzoom

Postby Silvio.Falconi » Sat May 04, 2019 3:32 pm

no I sent you a message
Since from 1991/1992 ( fw for clipper Rel. 14.4 - Momos)
I use : FiveWin for Harbour November 2023 - January 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
User avatar
Silvio.Falconi
 
Posts: 6796
Joined: Thu Oct 18, 2012 7:17 pm

Re: zoom and unzoom

Postby RiazKhan » Mon Apr 20, 2020 8: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
User avatar
RiazKhan
 
Posts: 97
Joined: Fri Dec 16, 2011 3:30 pm
Location: Pakistan

Re: zoom and unzoom

Postby Silvio.Falconi » 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

Image
Since from 1991/1992 ( fw for clipper Rel. 14.4 - Momos)
I use : FiveWin for Harbour November 2023 - January 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
User avatar
Silvio.Falconi
 
Posts: 6796
Joined: Thu Oct 18, 2012 7:17 pm

Re: zoom and unzoom

Postby RiazKhan » Wed Apr 22, 2020 7: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
User avatar
RiazKhan
 
Posts: 97
Joined: Fri Dec 16, 2011 3:30 pm
Location: Pakistan


Return to FiveWin for Harbour/xHarbour

Who is online

Users browsing this forum: No registered users and 13 guests