Reply To: TRzDBGrid.QuickCompare

#2599
Peter Dzomlija
Participant

    For for your response, Ray.

    This is a sample use of “OnDrawColumnCell”:
    OnDrawColumnCell

    It works well enough to replace the “TRUE / FALSE” displayed by Boolean fields with a checkmark glyph.

    But as far as I can tell, “OnDrawColumnCell” only gives me access to the value of the field that is being drawn, and not the entire record represented by the row. So if I’m drawing a string field, I cannot check the value of a boolean field in the same record, which means I can’t change the font style to (for example) “Red, StrikeOut” or “Green, Italic” based upon the values of other fields in the same record…

    Or have I missed something? 🤔