RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TCustomDBGrid.DrawDataCell Method

Generates an OnDrawDataCell event.

Pascal
procedure DrawDataCell(const Rect: TRect; Field: TField; State: TGridDrawState); dynamic;
C++
__fastcall DrawDataCell(const TRect Rect, TField Field, TGridDrawState State);

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

 

Copyright(C) 2009 Embarcadero Technologies, Inc. All Rights Reserved.
What do you think about this topic? Send feedback!