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 ?
zoom and unzoom
- Silvio.Falconi
- Posts: 4956
- Joined: Thu Oct 18, 2012 7:17 pm
zoom and unzoom
I use : FiveWin for Harbour August 2020 (Revision) - Harbour 3.2.0dev (r1712141320) - Bcc7.30 - xMate ver. 1.15.3 - PellesC
Re: zoom and unzoom
Silvio,
the area is defined with a given size from a bottom slider
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
I tested to zoom sections but NOT in edit-mode only viewing that works on cursorpositionI wish insert a slider on bottom of window and zoom and unzoom particular section of wndmain
( and all controls are showed)
the area is defined with a given size from a bottom slider
The zoom-section is defined with the size of the result-areaparticular section of wndmain
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.
i work with FW.
If you have any questions about special functions, maybe i can help.
- Silvio.Falconi
- Posts: 4956
- Joined: Thu Oct 18, 2012 7:17 pm
Re: zoom and unzoom
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
Re: zoom and unzoom
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
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
- Silvio.Falconi
- Posts: 4956
- Joined: Thu Oct 18, 2012 7:17 pm
Re: zoom and unzoom
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
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
I use : FiveWin for Harbour August 2020 (Revision) - Harbour 3.2.0dev (r1712141320) - Bcc7.30 - xMate ver. 1.15.3 - PellesC
Re: zoom and unzoom
Thanks, Silvio,
Nice, magnification tool.
I will look into the sample zoomer prgs and try to fit it into my application.
Nice, magnification tool.
I will look into the sample zoomer prgs and try to fit it into my application.