GRID.SetItemFont |
![]() ![]() |
state = GRID.SetItemFont( BYVAL nControl AS INTEGER, BYVAL row AS INTEGER, BYVAL col AS INTEGER, BYVAL name AS STRING, BYVAL size AS INTEGER, BYVAL weight AS INTEGER, BYVAL italic AS INTEGER, BYVAL under AS INTEGER ) AS INTEGER
state = GRID.SetItemFont( BYVAL nControl AS INTEGER, BYVAL row AS INTEGER, BYVAL col AS INTEGER, BYVAL name AS STRING ) AS INTEGER
Sets the font of the specified cell. The second (short) format will take a string of the following format
"FontName,size,Bold,Italic"
Example:
' Long Form with Underline Option GRID.SetItemFont( nControl, 1, 1, “Arial”, 10, MG_Font_Normal, FALSE, FALSE )
' Short Form. No Underline Option GRID.SetItemFont( nControl, 1, 1, “Arial,10,Normal,Normal" )
|