Method XbpMultiCellGroup():setCellColor() Foundation

Changes the foreground and/or background color of a cell.

:setCellColor( <nRowPos>, <nColPos>, ;
              [<nColorFG>], [<nColorBG>], [<lRepaint>] ) --> lSuccess
<nRowPos> is a numeric value indicating the ordinal row position of the cell whose color is changed.
<nColPos> is a numeric value indicating the ordinal column position of the cell.
This parameter specifies the foreground color of a cell. #define constants prefixed with GRA_CLR_ or XBPSYSCLR_ must be used for <nColorFG>. When the parameter is omitted, the foreground color remains unchanged.
This parameter specifies the background color of a cell.
<lRepaint> specifies whether or not the cell is immediately re-displayed when the method returns. The default value is .T. (true) and the cell is automatically re-displayed.

The method returns .T. (true) when the color of a cell is set, or .F. (false) in case of a failure.


If you see anything in the documentation that is not correct, does not match your experience with the particular feature or requires further clarification, please use this form to report a documentation issue.