nColHdrGrps = MTblEnumColHdrGrps( hWndTbl, naGroups[*] )

Enumerates all column header groups of a table.

Window Handle: Handle of the table

Array of Number: Contains the handles of the groups when the function returns successfully

Number: Number of groups or negative if an error occurs

In this example we set the text color of all column header groups to blue:

Set nGroups = MTblEnumColHdrGrps( hWndTbl, naGroups )
While n < nGroups
 Call MTblSetColHdrGrpTextColor( hWndTbl, naGroups[n], COLOR_Blue, 0 )
 Set n = n + 1

See also
Column header groups

Created with the Personal Edition of HelpNDoc: Create HTML Help, DOC, PDF and print manuals from 1 single source