MTblSetRowFont
bOk = MTblSetRowFont( hWndTbl, nRow, sName, nSize, nEnh, nFlags )
Sets a row's font.
Parameters
hWndTbl
Window Handle: Handle of the table
nRow
Number: Row number
sName
String: Font name. Specify MTBL_FONT_UNDEF_NAME to leave the name undefined.
nSize
Number: Font size. Specify MTBL_FONT_UNDEF_SIZE to leave the size undefined.
nEnh
Number:Any combination of the following enhancements: FONT_EnhBold, FONT_EnhItalic, FONT_EnhStrikeOut and FONT_EnhUnderline. Specify MTBL_FONT_UNDEF_ENH to leave the enhancements undefined.
nFlags
Number: Any combination of the following flags:
MTSF_REDRAW |
Redraws the row |
Return
Boolean: TRUE if successful or FALSE if an error occurs
Example
In this example a row's font is set to Arial, size 10. The enhancements are undefined and the row is redrawn:
Call MTblSetRowFont( hWndTbl, nRow, "Arial", 10, MTBL_FONT_UNDEF_ENH, MTSF_REDRAW )
See also
Custom fonts and colors
Created with the Personal Edition of HelpNDoc: Free Web Help generator