RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TCustomDecisionGrid.DrawCell Method

Draws a cell in the grid.

Pascal
procedure DrawCell(ACol: Longint; ARow: Longint; ARect: TRect; AState: TGridDrawState); override;
C++
virtual __fastcall DrawCell(Longint ACol, Longint ARow, TRect ARect, TGridDrawState AState);

DrawCell is called automatically when the cell specified by the ACol and ARow parameters needs to be painted. DrawCell generates an OnDecisionDrawCell event, and then draws the cell using the color, font, and value for the cell. 

 

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