Search found 129 matches

by Giovany Vecchi
Wed Nov 20, 2019 3:56 pm
Forum: FiveWin for Harbour/xHarbour
Topic: Change text color and background of tRadio
Replies: 10
Views: 1005

Re: Change text color and background of tRadio

I thought the Set3DLook(.F.) function would solve this question
by Giovany Vecchi
Wed Nov 20, 2019 3:36 pm
Forum: FiveWin for Harbour/xHarbour
Topic: Change text color and background of tRadio
Replies: 10
Views: 1005

Re: Change text color and background of tRadio

Thanks, it worked. I better change the tRadio class so I don't have to mess with the whole system. I am creating a kind of Dark Theme, and if I could not change certain controls, it would not work.  ::oDlgCadastro:bInit := <||     AEval( lc_oSelf:oCliDetConta:oRad760_DadosCobranca:aItems,;          ...
by Giovany Vecchi
Wed Nov 20, 2019 3:04 pm
Forum: FiveWin for Harbour/xHarbour
Topic: Change text color and background of tRadio
Replies: 10
Views: 1005

Re: Change text color and background of tRadio

When executing I get the message:

Code: Select all

Error description: Error BASE/1004  Message not found: TRADMENU:HWND
by Giovany Vecchi
Wed Nov 20, 2019 2:38 pm
Forum: FiveWin for Harbour/xHarbour
Topic: Change text color and background of tRadio
Replies: 10
Views: 1005

Change text color and background of tRadio

I do like this:  Redefine RADIO ::oRad760_DadosCobranca ;     VAR ::oDs_ClientesEdit:COBRANCA ;     ID 761,762,763,764  OF ::oFldDetalhes:aDialogs[1] ;     Color G_COLOR_SYS(2),G_COLOR_SYS(1)   In this example, G_COLOR_SYS (2) is white and G_COLOR_SYS (1) is the background. I can't change the colors...
by Giovany Vecchi
Tue Nov 19, 2019 9:04 pm
Forum: FiveWin for Harbour/xHarbour
Topic: Convert DBF to ADT
Replies: 4
Views: 576

Re: Convert DBF to ADT

Dbf2Advantage fonts are in ftp. ftp://Contrib:123@giovanyvecchi.no-ip.i ... antage.zip

To generate it you have to add tAds source: https://github.com/giovanyvecchi/tAdsGit.git
by Giovany Vecchi
Tue Nov 19, 2019 12:14 am
Forum: FiveWin for Harbour/xHarbour
Topic: Convert DBF to ADT
Replies: 4
Views: 576

Re: Convert DBF to ADT

I made a utility for this. Dbf2Advantage.exe
Download and run.

https://github.com/giovanyvecchi/tAdsGi ... 2Advantage
by Giovany Vecchi
Sat Aug 31, 2019 1:45 pm
Forum: FiveWin for Harbour/xHarbour
Topic: How to use Segoe MDL2 icons on Win 7 ?
Replies: 33
Views: 3917

Re: How to use Segoe MDL2 icons on Win 7 ?

  @  40, 40 BTNBMP oBtn PROMPT "First" RESOURCE 0xE100 SIZE 80,80 PIXEL OF oDlg FLAT ;                COLOR CLR_HBLUE // text color    WITH OBJECT oBtn       :nClrBorder    := CLR_GREEN  //  border color       :bColorMap     := { || { { CLR_BLACK, CLR_HRED } } }  // image color    END   Y...
by Giovany Vecchi
Sat Aug 31, 2019 1:21 pm
Forum: FiveWin for Harbour/xHarbour
Topic: How to use Segoe MDL2 icons on Win 7 ?
Replies: 33
Views: 3917

Re: How to use Segoe MDL2 icons on Win 7 ?

Why do you have to make any changes to buttonbmp class and change many functions? If your FWH version is not very old, it is very easy to use Segoe MDL2 Assets (if installed) in the place of bitmaps on BTNBMP and also BUTTONBMP, without any changes in the FWH library. Please try this small test pro...
by Giovany Vecchi
Fri Aug 30, 2019 5:46 pm
Forum: FiveWin for Harbour/xHarbour
Topic: How to use Segoe MDL2 icons on Win 7 ?
Replies: 33
Views: 3917

Re: How to use Segoe MDL2 icons on Win 7 ?

Hola Giovanni, buenas tardes, perdón la molestia. Estoy tratando de modificar la imagen de mis programas y no logro que me funcione segoe symbol Me podrías pasar un ejemplo, me gusto mucho el diseño a pesar que no se ve toda la pantalla. Saludos.- Jorge Cavagnaro jpcavagnaro@yahoo.com.ar Para obten...
by Giovany Vecchi
Tue Jun 18, 2019 6:46 pm
Forum: FiveWin for Harbour/xHarbour
Topic: How to use Segoe MDL2 icons on Win 7 ?
Replies: 33
Views: 3917

Re: How to use Segoe MDL2 icons on Win 7 ?

Assign the Button object to "bColorMap"
Example
     :: bColorMap: = {|| {CLR_WHITE, CLR_HRED}}

Image
by Giovany Vecchi
Tue Jun 18, 2019 2:32 pm
Forum: FiveWin for Harbour/xHarbour
Topic: How to use Segoe MDL2 icons on Win 7 ?
Replies: 33
Views: 3917

Re: How to use Segoe MDL2 icons on Win 7 ?

I changed the Buttonb.prg class and not to change the bitmaps everywhere I did a translation of "bitmap name for symbol code" Install the UI-Character to see the font symbols. Works only on windows 10 https://www.microsoft.com/en-us/p/ui-character-map/9nblggh5kll7 Method BmpToSymbol(f_cBit...
by Giovany Vecchi
Tue Jun 18, 2019 2:04 pm
Forum: FiveWin for Harbour/xHarbour
Topic: How to use Segoe MDL2 icons on Win 7 ?
Replies: 33
Views: 3917

Re: How to use Segoe MDL2 icons on Win 7 ?

I think it's better to use windows fonts than to create bitmaps. If you register the source in windows 7 there are no problems. Later I will change some functions so they can change the colors of the texts and symbols. For while it is thus:


Image
by Giovany Vecchi
Tue Jun 18, 2019 2:24 am
Forum: FiveWin for Harbour/xHarbour
Topic: How to use Segoe MDL2 icons on Win 7 ?
Replies: 33
Views: 3917

Re: How to use Segoe MDL2 icons on Win 7 ?

I did a different process. Download the "Typograf" utility at https://www.neuber.com/typograph/ Take the font of Windows 10 "Segoe MDL2 Assets" and slve it under another name "Segoe MDL2 Assets seven" and physically named "segmdl2_7.ttf" When running Windows 7...
by Giovany Vecchi
Tue Jun 18, 2019 1:49 am
Forum: FiveWin for Harbour/xHarbour
Topic: How to use Segoe MDL2 icons on Win 7 ?
Replies: 33
Views: 3917

Re: How to use Segoe MDL2 icons on Win 7 ?

Windows 7 has the "Segoe Ui Symbol" font, but has few symbols.
by Giovany Vecchi
Mon Jun 17, 2019 10:44 pm
Forum: FiveWin for Harbour/xHarbour
Topic: How to use Segoe MDL2 icons on Win 7 ?
Replies: 33
Views: 3917

Re: How to use Segoe MDL2 icons on Win 7 ?

Edit the imgtxtio.prg file at line 785. Original:       if lSegoe          nHeight     := Int( Min( aRect[ 1 ] - aRect[ 3 ], aRect[ 4 ] - aRect[ 2 ] ) * 0.6 )          cFace    := If( lWin10, "Segoe MDL2 Assets", "Segoe UI Symbol" )          DEFINE FONT oFont NAME cFace SIZE 0, -...