Font in DCBROWSE
Posted: Wed Feb 12, 2014 2:50 am
Hi Roger,
In my DCBROWSE command I use the FONT parameter as such
where cGETFONT = '9.Arial'. But, the DCBROWSE keep showing me a bold and larger font.
*****************
When I write the FONT parameter as such
the browser window will follow the specified font.
As the requirement is to allow the font change according to the database. I will need to figure out how to make the FONT parameter to use a variable (cGETFONT) instead of a constant ('9.Arial')
Any ideas?
Note: I have tried
Both ways don't work
I'm using XBase++ 1.90.331, Express++ build 258
Andy
In my DCBROWSE command I use the FONT parameter as such
Code: Select all
@ nRow + IIF(lAutoSeek,1.5*IIF(lPixel,20,1),0), nCol DCBROWSE aData[1] ;
FONT cGETFONT
*****************
When I write the FONT parameter as such
Code: Select all
@ nRow + IIF(lAutoSeek,1.5*IIF(lPixel,20,1),0), nCol DCBROWSE aData[1] ;
FONT {|| '9.Arial'}
As the requirement is to allow the font change according to the database. I will need to figure out how to make the FONT parameter to use a variable (cGETFONT) instead of a constant ('9.Arial')
Any ideas?
Note: I have tried
Code: Select all
FONT {|| cGETFONT}
Code: Select all
afonts:={}
AADD(afonts, cGETFONT)
@ nRow + IIF(lAutoSeek,1.5*IIF(lPixel,20,1),0), nCol DCBROWSE aData[1] ;
FONT {|| afonts[1]}
Both ways don't work
I'm using XBase++ 1.90.331, Express++ build 258
Andy