MTblSetColumnTitle

Functions ›› MTblSet... ›› MTblSetColumn... ››
Parent Previous Next

bOk = MTblSetColumnTitle( hWndCol, sTitle )

Sets the title of a column. You have to use this function instead of SalTblSetColumnTitle if you are working with column header groups.

Parameters
hWndCol
Window Handle: Handle of the column

sTitle
String: The title.

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

Example

Call MTblSetColumnTitle( hWndCol, "I'm a column title" )

Remarks
If the column belongs to a column header group, this function adds as many carriage return / line feed as necessary to the title to ensure that the column header group can be displayed.

See also
Column header groups

 

Created with the Personal Edition of HelpNDoc: Easily create Web Help sites