bOk = MTblSetColHdrGrpText( hWndTbl, nColHdrGrp, sText, nFlags )

Sets the text of a column header group.

Parameters
hWndTbl
Window Handle: Handle of the table

nColHdrGrp
Number: Handle of the column header group

sTitle
String: The text

nFlags
Number: Currently unused.

Return
Boolean: TRUE if successful or FALSE if an error occurs

Example

Call MTblSetColHdrGrpText( hWndTbl, nColHdrGrp, "I'm a column header group", 0 )

Remarks
To ensure that the height of the column header is sufficiently to display the column header group, this function adds as many carriage return / line feed as necessary to the title of the member columns. If you want to set and/or get the title of a member column at runtime, you should use MTblSetColumnTitle and/or MTblGetColumnTitle.

See also
Column header groups

Created with the Personal Edition of HelpNDoc: Write EPub books for the iPad