Vcl.Forms.TFormStyleHook.PaintBackground

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

procedure PaintBackground(Canvas: TCanvas); override;

C++

virtual void __fastcall PaintBackground(Vcl::Graphics::TCanvas* Canvas);

Properties

Type Visibility Source Unit Parent
procedure
function
class protected
Vcl.Forms.pas
Vcl.Forms.hpp
Vcl.Forms TFormStyleHook

Description

Paints the background of the control.

Vcl.Forms.TFormStyleHook.PaintBackground inherits from Vcl.Themes.TStyleHook.PaintBackground. All content below this line refers to Vcl.Themes.TStyleHook.PaintBackground.

Paints the background of the control.

PaintBackground fills the control area with the currently selected brush color.

Override this method if your control has transparent parts and you need to paint the parent background.

See Also