GetHeaderCellFont

Retrieve the font of an individual header row

WSupported on Windows

 

 

 

status = %AX_CALL(axlist_id, "GetHeaderCellFont", 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 header whose font is being retrieved. (n)

face_name

The returned name of the Windows font. (a)

point_size

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

rendition

The returned rendition. This is zero if no renditions are applied, 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 GetHeaderCellFont method retrieves the font and rendition for a specified row of the header.

See also

Examples

The following example sets the font of the second row of headers to Times New Roman, increases the current font size by 1, and leaves the style unchanged.

xcall l_status(listid, D_LAXCTRL, axctrl)
xcall ax_call(axctrl, "GetHeaderCellFont", 2, face, ptsize, style)
xcall ax_call(axctrl, "SetHeaderCellFont", 2, "Times New Roman", ptsize+1, style)