FMX.Controls.TControl.DoPaint

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

procedure DoPaint; virtual;

C++

virtual void __fastcall DoPaint();

Properties

Type Visibility Source Unit Parent
procedure
function
protected
FMX.Controls.pas
FMX.Controls.hpp
FMX.Controls TControl

Description

Processes the painting of the control.

This method is called internally from PaintTo and PaintChildren. DoPaint defines the drawing area by clipping the Canvas to the areas occupied by the control and its children, paints the children and then the control itself. The call to DoPaint is always preceded by a call to Painting and succeeded by a call to AfterPaint.

See Also