RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TCustomDecisionGrid.Paint Method

Renders the image of the decision grid.

Pascal
procedure Paint; override;
C++
virtual __fastcall Paint();

Paint is called when the grid receives a Windows paint message. Paint draws the grid, calling the DrawCell method when it is time to paint the contents of each cell. After all the cells are drawn, Paint draws the grid lines.  

If DefaultDrawing is false, Paint does not draw the background of the cells or draw the focus rectangle around the selected cell when it has focus. 

 

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