RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TCustomGrid.Paint Method

Draws the image of the grid control on the screen.

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

Paint is called when the grid receives a paint message. Paint draws the grid, calling the DrawCell method when it is time to paint the contents of each cell. If DefaultDrawing is false, Paint does not draw the background of the cells, provide the raised 3D effects on the fixed cells, or draw the focus rectangle around the selected cell when it has focus. 

 

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