Try putting your code in OnDrawColumnCell() and make sure your DBgrid event is hooked to the event handler method in the object inspector.
Yes from the help
"Do not write an OnDrawDataCell event handler. OnDrawDataCell is obsolete and included for backward compatibility. Instead, write an OnDrawColumnCell event handler."
-- Alister Christie Computers for People Phone: 04 471 1849 / Fax: 04 471 1266 PO Box 13085 Johnsonville Wellington
_______________________________________________ Delphi mailing list [EMAIL PROTECTED] http://ns3.123.co.nz/mailman/listinfo/delphi
