Vcl.ExtCtrls.TCustomGridPanel.Paint
Delphi
procedure Paint; override;
C++
virtual void __fastcall Paint();
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
procedure function |
protected | Vcl.ExtCtrls.pas Vcl.ExtCtrls.hpp |
Vcl.ExtCtrls | TCustomGridPanel |
Description
Renders the image of the panel.
Vcl.ExtCtrls.TCustomGridPanel.Paint inherits from Vcl.ExtCtrls.TCustomPanel.Paint. All content below this line refers to Vcl.ExtCtrls.TCustomPanel.Paint.
Renders the image of the panel.
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.