TBColumn
TBColumnSetColorBlock
Set a callback that receives the cell value as a const ITEM * and can update the supplied color indices
Syntax
xBool TBColumnSetColorBlock( TBColumn *column, TBColumnColorBlock block );
Return value
T on success, or F if the object is NULL.
Description
Pass NULL to use the default colors.
The callback receives a copy of the four default indices. For the cell, TBrowse uses the standard and selected indices returned in colors[0] and colors[1]. Heading and footing colors come from the column defaults.