FiveTech Support Forums

FiveWin / Harbour / xBase community
Board index FiveWin for Harbour/xHarbour TEXTOUT() function cannot use some predefined fonts?
Posts: 4043
Joined: Wed Dec 19, 2007 06:40 PM
Re: TEXTOUT() function cannot use some predefined fonts?
Posted: Mon Oct 14, 2013 05:34 PM
Boris,
there is still some work to do, to add the different painters.
As soon these parts are finished, I will add the download-link.

Possible Windows-backgrounds ( defined )



Possible Dialog-backgronds ( defined ) with defined size



Best 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: 4043
Joined: Wed Dec 19, 2007 06:40 PM
Re: TEXTOUT() function cannot use some predefined fonts?
Posted: Wed Oct 16, 2013 11:58 AM
Boris,
slowly I reach the end.
Still I have to add, to create a EXE of the selections.
The tool has grown now as a complete title-tester.
With a right mouseclick inside the dialog, the title moves to this position.
All settings / selections are saved to a INI-file.
Because of the NEW style-define, 160 combinations are possible :



everything can be defined :



Best 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: 208
Joined: Wed Dec 03, 2008 04:48 PM
Re: TEXTOUT() function cannot use some predefined fonts?
Posted: Wed Oct 16, 2013 02:55 PM

Looks promissing...
Is there a way to test this ?

Posts: 4043
Joined: Wed Dec 19, 2007 06:40 PM
Re: TEXTOUT() function cannot use some predefined fonts?
Posted: Wed Oct 16, 2013 02:59 PM
Boris,

I think tomorrow, it will be ready for download.

I added a optional free defined text-solution.
The text can be defined inside the Title-painter ( up to 30 chars )
Now You can create / design any Title You like, adjusted to the text,
because the font-size can be changed as well.
Image REFLEX can to be switched now ( ON /OFF )



TTitle used as Dialog-title without sysmenu.



Best 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: 208
Joined: Wed Dec 03, 2008 04:48 PM
Re: TEXTOUT() function cannot use some predefined fonts?
Posted: Thu Oct 17, 2013 11:45 AM

Can't wait to try :)

Posts: 4043
Joined: Wed Dec 19, 2007 06:40 PM
Re: TEXTOUT() function cannot use some predefined fonts?
Posted: Thu Oct 17, 2013 06:32 PM
Boris,

the DOWNLOAD ( 6.26 MB ) :
( It has grown bigger as aspected )

http://www.pflegeplus.com/fw_downloads/TPaint2.zip ( Updated ! )

Painter => TITLE.exe
created EXE => MYTITLE.exe

To create Your own EXE-file, make Your changes in MYTITLE.RMK
Maybe You want to use the selections at Restart, You must select > Save to INI / EXIT.
To change the font at runtime, define a new size inside the Titlt-painter and use the FONT-button.
A maybe needed UPDATE will only include the EXE for download.
To use a given title-size related to dialog-size, there is a needed factor of 2.02
The Width and Height is calculated and defined in the created EXE / PRG.
sample :
@ nTTop, nTLeft TITLE oTitle SIZE nTWidth / 2.02, nTHeight / 2.02 of oDlgMain TRANSPARENT BORDER BASE
The position of nTTop and nTLeft is defined with a right mouseclick inside the dialog.

Let me now for maybe any more extensions or changes.

The final painter



The created PRG and EXE



A created Dialog-title :



All in one, I'm working on some extensions, it can be used as LOGO-editor





Best 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: 4043
Joined: Wed Dec 19, 2007 06:40 PM
Re: TEXTOUT() function cannot use some predefined fonts?
Posted: Fri Oct 18, 2013 02:53 PM
Updated to 2.1

added to the TEXT a new LOGO-design.
Some options added like image-resize and text-shadow-distance
You can copy the INI-file to the subdirectory TEMPLATES with a new name.
Copy from there, a selected INI back to the main-directory and rename to SETTING.INI

Download : http://www.pflegeplus.com/fw_downloads/Tpaint2.zip





Best 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.

Continue the discussion