SetFooterCellFont

Change the font of an individual footer row

WSupported on Windows

 

 

 

status = %AX_CALL(axlist_id, "SetFooterCellFont", row, face_name, point_size, 
&        rendition)

Return value

status

Returns true if successful, otherwise false. (n)

Arguments

axlist_id

The ID for the ActiveX Toolkit list. This ID can be retrieved with L_STATUS. (n)

row

The row number of the footer whose font is being modified. (n)

face_name

The name of the Windows font. (a)

point_size

The size of the Windows font in points. (n)

rendition

Zero to turn off all renditions, or one or more of the following options, which can be combined using .BOR. or the vertical bar (|) operator: D_CELL_BOLD, D_CELL_ITALIC, D_CELL_UNDER (underlined). (n)

Discussion

The SetFooterCellFont method sets the font and rendition for a specified row of the footer. The specified font overrides any font and point size specified by the FooterFontName and FooterFontSize properties.

See also

Examples

The following example sets the font for the third row of footers to bold. This does not affect other font parameters.

xcall l_status(listid, D_LAXCTRL, axctrl)
xcall ax_call(axctrl, "GetFooterCellFont", 3, face, ptsize, style)
xcall ax_call(axctrl, "SetFooterCellFont", 3, %atrim(face), ptsize, style .bor. D_CELL_BOLD)