GetHeaderCell

Retrieve the text in an individual cell of a header

WSupported on Windows

 

 

 

status = %AX_CALL(axlist_id, "GetHeaderCell", column, text)

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)

column

The column number of the header whose text is being retrieved. (n)

text

The returned header text. (a)

Discussion

The GetHeaderCell method retrieves the text in the header for a specified column.

See also

Examples

The following example appends the string “ - Audited” to the text of the third header cell and ensures that the text is left justified.

xcall l_status(listid, D_LAXCTRL, axctrl)
xcall ax_call(axctrl, "GetHeaderCell", 3, text)
text = %atrim(text) + " - Audited"
xcall ax_call(axctrl, "SetHeaderCell", 3, %atrim(text))
xcall ax_call(axctrl, "SetHeaderCellAlignment", 3, 1)