Vcl.Ribbon.TOffice2007Button.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.Ribbon.pas
Vcl.Ribbon.hpp
Vcl.Ribbon TOffice2007Button

Description

Renders the control's surface.

Vcl.Ribbon.TOffice2007Button.Paint inherits from Vcl.Controls.TGraphicControl.Paint. All content below this line refers to Vcl.Controls.TGraphicControl.Paint.

Renders the control's surface.

The Paint method is called automatically when a lightweight control needs to update its display area. Code in the Paint method uses the Canvas property to render the control surface.

As implemented in TGraphicControl, Paint does nothing. Specific rendering logic is provided by Paint methods in descendent control classes.

See Also