Vcl.Grids.TCustomGrid.Paint

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

procedure Paint; override;

C++

virtual void __fastcall Paint();

Properties

Type Visibility Source Unit Parent
procedure
function
protected
Vcl.Grids.pas
Vcl.Grids.hpp
Vcl.Grids TCustomGrid

Description

Draws the image of the grid control on the screen.

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.

See Also