To Nages : special chrs on xbrowse

To Nages : special chrs on xbrowse

Postby Silvio.Falconi » Thu Jun 30, 2016 12:04 pm

Image

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 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: 7056
Joined: Thu Oct 18, 2012 7:17 pm

Re: To Nages : special chrs on xbrowse

Postby nageswaragunupudi » Fri Jul 01, 2016 9:18 am

Please try defining font like this
Code: Select all  Expand view
  DEFINE FONT oWing1 NAME "WingDings"   SIZE 0,-30 CHARSET 2
 
Regards

G. N. Rao.
Hyderabad, India
User avatar
nageswaragunupudi
 
Posts: 10632
Joined: Sun Nov 19, 2006 5:22 am
Location: India

Re: To Nages : special chrs on xbrowse

Postby Silvio.Falconi » Fri Jul 01, 2016 9: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 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: 7056
Joined: Thu Oct 18, 2012 7:17 pm

Re: To Nages : special chrs on xbrowse

Postby nageswaragunupudi » Fri Jul 01, 2016 9:57 am

Charset 2 is for Symbols
Regards

G. N. Rao.
Hyderabad, India
User avatar
nageswaragunupudi
 
Posts: 10632
Joined: Sun Nov 19, 2006 5:22 am
Location: India

Re: To Nages : special chrs on xbrowse

Postby Silvio.Falconi » 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 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: 7056
Joined: Thu Oct 18, 2012 7:17 pm


Return to FiveWin for Harbour/xHarbour

Who is online

Users browsing this forum: No registered users and 97 guests