DBgrid coloring on var calculated onformshow
Posted on 1998-10-22
I want to color the cells of my dbgrid depending upon a variable which is calculated in a procedure invoked 'on formshow.' Currently, the 'ondrawcolumncell' event appears to happen before 'onformshow.' I'm looking for a suggestion how to paint the cells based on this calculated variable.
The data doesn't exist when the form is initially created.
I am looking for a suggestion to get the grid colored properly.