RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TCustomGridPanel.Paint Method

Renders the image of the panel.

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

Override the Paint method to change the way the panel is drawn. The Paint method for TCustomPanel draws the bevels of the panel, sets the brush and font for the panel, and fills in the interior of the panel. Finally, Paint writes the value of Caption on the panel. 

 

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