RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TCustomDBGrid.DrawColumnCell Method

Generates an OnDrawColumnCell event.

Pascal
procedure DrawColumnCell(const Rect: TRect; DataCol: Integer; Column: TColumn; State: TGridDrawState); dynamic;
C++
__fastcall DrawColumnCell(const TRect Rect, int DataCol, TColumn Column, TGridDrawState State);

Applications cannot call DrawColumnCell directly. It is exposed as a protected method so that descendants can call the OnDrawColumnCell event handler or override the method to block the event. 

 

Copyright(C) 2008 CodeGear(TM). All Rights Reserved.
What do you think about this topic? Send feedback!