FiveTech Support Forums

FiveWin / Harbour / xBase community
Board index FiveWin for Harbour/xHarbour To Nages : special chrs on xbrowse
Posts: 7317
Joined: Thu Oct 18, 2012 07:17 PM
To Nages : special chrs on xbrowse
Posted: Thu Jun 30, 2016 12:04 PM


why I cannot show the Wingdings characters on a xbrowse ?

I tried with oBrw:odatafont := oFont

I tried also with

FOR i := 1 TO LEN(oBrowChars:aCols)
oCol := oBrowChars:aCols[ i ]
oCol:oDataFont:= CreateFontGrid(aArrayFont[nFontname])
next



...



Function CreateFontGrid(cname)
IF ofont<> NIL
ofont:end()
endif
oFont := TFont():New(cname,0,-16) //,.F.,.T.,0,0,0,.F. )
return ofont
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: 10733
Joined: Sun Nov 19, 2006 05:22 AM
Re: To Nages : special chrs on xbrowse
Posted: Fri Jul 01, 2016 09:18 AM
Please try defining font like this
Code (fw): Select all Collapse
   DEFINE FONT oWing1 NAME "WingDings"   SIZE 0,-30 CHARSET 2
Regards



G. N. Rao.

Hyderabad, India
Posts: 7317
Joined: Thu Oct 18, 2012 07:17 PM
Re: To Nages : special chrs on xbrowse
Posted: Fri Jul 01, 2016 09:45 AM

thanks Maestro

I use GetFontNames( hDC ) to give an array of fonts
is there a function give me also the ncharset for each font ? or it need only 1 and 2

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: 10733
Joined: Sun Nov 19, 2006 05:22 AM
Re: To Nages : special chrs on xbrowse
Posted: Fri Jul 01, 2016 09:57 AM

Charset 2 is for Symbols

Regards



G. N. Rao.

Hyderabad, India
Posts: 7317
Joined: Thu Oct 18, 2012 07:17 PM
Re: To Nages : special chrs on xbrowse
Posted: Fri Jul 01, 2016 10:20 AM

yes I saw and change the function now run ok thanks
see viewtopic.php?f=3&t=32659

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

Continue the discussion