I can not see the images.
Datafont is working correctly for us in all our tests and our own software running with out clients.
First please try this example:
- Code: Select all Expand view
#include "fivewin.ch"
function main()
local oWnd,oFont,oBold, oBrw
DEFINE FONT oFont NAME "TAHOMA" SIZE 0,-12
DEFINE FONT oBold NAME "ARIAL" SIZE 0,-18 BOLD
USE \FWH\SAMPLES\CUSTOMER
DEFINE WINDOW oWnd
oWnd:SetFont( oFont )
@ 0,0 XBROWSE oBrw OF oWnd ALIAS "CUSTOMER" ;
COLUMNS "First", "City", "Salary" ;
CELL LINES NOBORDER
oBrw:aCols[ 1 ]:oDataFont := oBold
oBrw:CreateFromCode()
oWnd:oClient := oBrw
ACTIVATE WINDOW oWnd CENTERED
RELEASE FONT oFont,oBold
return nil
Build this sample with buildx.bat or buildh.bat
Please test if this sample works correctly.
Please post a self contained sample, which we can build and test at our end, to reproduce your problem.
Note: In case you make this assignment of oDataFont after the XBrowse is active, then you should also call oBrw:Refresh() after the assignment. The behavior is the same in all versions 10.01 or 16.02