Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Dynamicfontbold not bold
Message
From
25/02/2013 13:12:41
 
 
To
All
General information
Forum:
Visual FoxPro
Category:
Other
Title:
Dynamicfontbold not bold
Environment versions
Visual FoxPro:
VFP 9
Miscellaneous
Thread ID:
01566879
Message ID:
01566879
Views:
72
i have this for a grid column's dynamicfontbold in a method:
nx1	= 30 * THISFORM.nHorCnt
nx2	= 17 * THISFORM.nVertCnt


LOCATE

thisform.ResizeGrid1()
THISFORM.grd1.RECORDSOURCE = [ccXWORD]

THISFORM.grd1.COLUMNCOUNT  = THISFORM.nHorCnt
THISFORM.grd1.SETALL( [width], 22, [COLUMN] )

FOR I = 1 TO THISFORM.nHorCnt
	THISFORM.grd1.COLUMNS[m.i].DYNAMICBACKCOLOR = [IIF ( NOT ISALPHA( col] + TRANSFORM(m.I) + [)   AND val( col] + TRANSFORM(m.I) + [)=0 , rgb(255,0,0), rgb(255,255,255) )]   <---------------- WORKING

	lcX1 = [IIF (ISALPHA( col] + TRANSFORM(m.I) + [) , .T., .F.) ]
	THISFORM.grd1.COLUMNS[m.i].DYNAMICfontbold = lcX1     <------------- not working 

ENDFOR
see attachment, it is not bold in column1 (the filedname is col1)
the dynamiv backcolor works

what do i do wrong??

thanks


Peter
Peter Cortiel
Next
Reply
Map
View

Click here to load this message in the networking platform