Vcl.ComCtrls.TTabControlStyleHook.PaintBackground
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.ComCtrls.pas Vcl.ComCtrls.hpp |
Vcl.ComCtrls | TTabControlStyleHook |
Description
Paints the background of the control.
Vcl.ComCtrls.TTabControlStyleHook.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.