MTblGetAltRowBackColors

Functions ›› MTblGet... ››
Parent Previous Next

bOk = MTblGetAltRowBackColors( hWndTbl, bSplitRows, nrColor1, nrColor2 )

Gets alternating row background colors of normal or split rows.

Parameters
hWndTbl
Window Handle: Handle of the table

bSplitRows
Boolean: Specify TRUE to get the alternating colors of split rows or FALSE to get the alternating colors of normal rows.

nrColor1
Receive Number: First color, MTBL_COLOR_UNDEF if undefined.

nrColor2
Receive Number: Second color, MTBL_COLOR_UNDEF if undefined.

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

Example
In this example we get the alternating row background colors of the normal rows:

Call MTblGetAltRowBackColors( hWndTbl, FALSE, nColor1, nColor2 )

See also
Custom fonts and colors

Created with the Personal Edition of HelpNDoc: Write eBooks for the Kindle